FIX: FLTK_WRAP_UI command modified.
This commit is contained in:
parent
0248c98658
commit
6db0c7c5e6
|
@ -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)
|
||||
ENDIF(CMAKE_HAS_X)
|
||||
|
|
Loading…
Reference in New Issue