SFML/examples/island/CMakeLists.txt
Lukas Dürrenberger 85362fa232 Quote include paths in SFML and FreeType
Fixes issues if the build path contains spaces
2025-01-31 14:03:05 +01:00

15 lines
381 B
CMake

find_package(Threads REQUIRED)
# all source files
set(SRC Island.cpp)
# define the island target
sfml_add_example(island GUI_APP
SOURCES ${SRC}
DEPENDS SFML::Graphics)
# external dependency headers
target_include_directories(island SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/examples/island")
target_link_libraries(island PRIVATE Threads::Threads)