summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-12-11 07:14:37 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-12-11 07:14:37 (GMT)
commit6db0c7c5e677e801fb7785eec09081b24ad2fc21 (patch)
treedbac09dfaf97be7d761375e96e492f90ef92f530 /Source/FLTKDialog
parent0248c986581245111d00adae411eaa58cbc44533 (diff)
downloadCMake-6db0c7c5e677e801fb7785eec09081b24ad2fc21.zip
CMake-6db0c7c5e677e801fb7785eec09081b24ad2fc21.tar.gz
CMake-6db0c7c5e677e801fb7785eec09081b24ad2fc21.tar.bz2
FIX: FLTK_WRAP_UI command modified.
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r--Source/FLTKDialog/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/FLTKDialog/CMakeLists.txt b/Source/FLTKDialog/CMakeLists.txt
index 1ab9374..65f0dad 100644
--- a/Source/FLTKDialog/CMakeLists.txt
+++ b/Source/FLTKDialog/CMakeLists.txt
@@ -1,11 +1,15 @@
SOURCE_FILES(SRCS
-CMakeSetupGUI.cxx
CMakeSetupGUIImplementation.cxx
FLTKDialog.cxx
FLTKPropertyItemRow.cxx
FLTKPropertyList.cxx
)
+SOURCE_FILES(FLTK_GUI_Files_SRCS
+CMakeSetupGUI.fl
+)
+
+
LINK_LIBRARIES(${FLTK_LIBRARY})
IF(WIN32)
IF(NOT UNIX)
@@ -21,11 +25,14 @@ ENDIF(UNIX)
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_PATH})
+
ADD_EXECUTABLE(CMakeSetup SRCS)
+FLTK_WRAP_UI(CMakeSetup FLTK_GUI_Files_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
+ENDIF(CMAKE_HAS_X)