diff options
Diffstat (limited to 'Source/FLTKDialog/CMakeLists.txt')
-rw-r--r-- | Source/FLTKDialog/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/FLTKDialog/CMakeLists.txt b/Source/FLTKDialog/CMakeLists.txt index 4c5b273..1ab9374 100644 --- a/Source/FLTKDialog/CMakeLists.txt +++ b/Source/FLTKDialog/CMakeLists.txt @@ -23,3 +23,9 @@ INCLUDE_DIRECTORIES(${FLTK_INCLUDE_PATH}) ADD_EXECUTABLE(CMakeSetup SRCS) INSTALL_TARGETS (/bin CMakeSetup) + +IF(CMAKE_HAS_X) +LINK_LIBRARIES(-lXt -lm) +LINK_LIBRARIES(${CMAKE_X_LIBS}) +ADD_DEFINITIONS(${CMAKE_X_CFLAGS}) +ENDIF(CMAKE_HAS_X)
\ No newline at end of file |