summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)