2014-09-30 22:07:25 +08:00
|
|
|
|
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/X11)
|
|
|
|
|
|
|
|
# all source files
|
|
|
|
set(SRC ${SRCROOT}/X11.cpp)
|
|
|
|
|
|
|
|
# define the X11 target
|
2018-03-21 02:46:57 +08:00
|
|
|
sfml_add_example(X11Example GUI_APP
|
2014-09-30 22:07:25 +08:00
|
|
|
SOURCES ${SRC}
|
2019-04-13 19:16:32 +08:00
|
|
|
DEPENDS sfml-window X11)
|
2021-04-20 21:59:24 +08:00
|
|
|
|
|
|
|
# external dependency headers
|
|
|
|
target_include_directories(X11Example SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/X11)
|