From 6db0c7c5e677e801fb7785eec09081b24ad2fc21 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Tue, 11 Dec 2001 02:14:37 -0500 Subject: [PATCH] FIX: FLTK_WRAP_UI command modified. --- Source/FLTKDialog/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Source/FLTKDialog/CMakeLists.txt b/Source/FLTKDialog/CMakeLists.txt index 1ab9374bb..65f0dadd2 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)