SFML/examples/sound/CMakeLists.txt

12 lines
271 B
CMake

set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sound)
# all source files
set(SRC ${SRCROOT}/Sound.cpp)
# define the sound target
sfml_add_example(sound
SOURCES ${SRC}
DEPENDS sfml-audio sfml-system
INSTALL_RESOURCES_DIR)