Replace INSTALL_RESOURCES_DIR option of sfml_add_example() command with RESOURCES_DIR

This commit is contained in:
Ceylo 2018-01-13 00:19:56 +01:00 committed by Lukas Dürrenberger
parent 777ec2c04d
commit ce7ced5488
6 changed files with 15 additions and 13 deletions

View file

@ -13,4 +13,4 @@ set(ADDITIONAL_LIBRARIES ${OPENGL_LIBRARIES})
sfml_add_example(opengl GUI_APP
SOURCES ${SRC}
DEPENDS sfml-graphics sfml-window sfml-system ${ADDITIONAL_LIBRARIES}
INSTALL_RESOURCES_DIR)
RESOURCES_DIR resources)

View file

@ -8,4 +8,4 @@ set(SRC ${SRCROOT}/Pong.cpp)
sfml_add_example(pong GUI_APP
SOURCES ${SRC}
DEPENDS sfml-audio sfml-graphics sfml-window sfml-system
INSTALL_RESOURCES_DIR)
RESOURCES_DIR resources)

View file

@ -10,4 +10,4 @@ set(SRC
sfml_add_example(shader GUI_APP
SOURCES ${SRC}
DEPENDS sfml-graphics sfml-window sfml-system
INSTALL_RESOURCES_DIR)
RESOURCES_DIR resources)

View file

@ -8,4 +8,4 @@ set(SRC ${SRCROOT}/Sound.cpp)
sfml_add_example(sound
SOURCES ${SRC}
DEPENDS sfml-audio sfml-system
INSTALL_RESOURCES_DIR)
RESOURCES_DIR resources)

View file

@ -8,4 +8,4 @@ set(SRC ${SRCROOT}/Win32.cpp)
sfml_add_example(win32 GUI_APP
SOURCES ${SRC}
DEPENDS sfml-graphics sfml-window sfml-system
INSTALL_RESOURCES_DIR)
RESOURCES_DIR resources)