diff options
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r-- | Source/FLTKDialog/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUIImplementation.cxx | 1 | ||||
-rw-r--r-- | Source/FLTKDialog/FLTKPropertyItemRow.cxx | 2 | ||||
-rw-r--r-- | Source/FLTKDialog/FLTKPropertyList.cxx | 1 |
4 files changed, 7 insertions, 3 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 diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx index 7f1a20f..7754ba4 100644 --- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx +++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx @@ -3,7 +3,6 @@ #include "FL/fl_file_chooser.H" #include "FL/filename.H" #include "FL/fl_ask.H" -#include "cstring" #include "../cmCacheManager.h" #include "../cmMakefile.h" #include <iostream> diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.cxx b/Source/FLTKDialog/FLTKPropertyItemRow.cxx index 3c6f591..d1f455c 100644 --- a/Source/FLTKDialog/FLTKPropertyItemRow.cxx +++ b/Source/FLTKDialog/FLTKPropertyItemRow.cxx @@ -12,7 +12,7 @@ #include "../cmCacheManager.h" #include "FLTKPropertyList.h" #include "CMakeSetupGUIImplementation.h" -#include <cstdio> + namespace fltk { diff --git a/Source/FLTKDialog/FLTKPropertyList.cxx b/Source/FLTKDialog/FLTKPropertyList.cxx index 8422f07..70a6255 100644 --- a/Source/FLTKDialog/FLTKPropertyList.cxx +++ b/Source/FLTKDialog/FLTKPropertyList.cxx @@ -9,7 +9,6 @@ #include "FL/Fl_Color_Chooser.H" #include "FL/fl_ask.H" #include "FL/Fl_Button.H" -#include <cstdio> #include "CMakeSetupGUIImplementation.h" |