mirror of
https://github.com/SFML/SFML.git
synced 2024-12-02 00:01:05 +08:00
16 lines
420 B
CMake
16 lines
420 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
|
|
RESOURCES_DIR resources)
|
|
|
|
# external dependency headers
|
|
target_include_directories(island SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/island)
|
|
|
|
target_link_libraries(island PRIVATE Threads::Threads)
|