diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-28 18:53:08 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-28 18:53:08 (GMT) |
commit | 61acb47f5458c1b3e3c909e31867240a8219efaf (patch) | |
tree | 8af16876bed939c630148d82e2ce229c8c66bc38 /Source/FLTKDialog | |
parent | aec9f9eaa9d1107d3762d1251bf10592afdb26cb (diff) | |
download | CMake-61acb47f5458c1b3e3c909e31867240a8219efaf.zip CMake-61acb47f5458c1b3e3c909e31867240a8219efaf.tar.gz CMake-61acb47f5458c1b3e3c909e31867240a8219efaf.tar.bz2 |
BUG: fix for sgi compiler
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" |