CMake/Source/FLTKDialog/CMakeLists.txt

39 lines
675 B
CMake
Raw Normal View History

SOURCE_FILES(SRCS
CMakeSetupGUIImplementation.cxx
FLTKDialog.cxx
FLTKPropertyItemRow.cxx
FLTKPropertyList.cxx
)
2001-12-11 10:14:37 +03:00
SOURCE_FILES(FLTK_GUI_Files_SRCS
CMakeSetupGUI.fl
)
LINK_LIBRARIES(${FLTK_LIBRARY})
IF(WIN32)
IF(NOT UNIX)
LINK_LIBRARIES(wsock32)
ENDIF(NOT UNIX)
ENDIF(WIN32)
IF(UNIX)
INCLUDE (${CMAKE_ROOT}/Modules/FindOpenGL.cmake)
LINK_LIBRARIES(${OPENGL_LIBRARY})
ENDIF(UNIX)
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_PATH})
2001-12-11 10:14:37 +03:00
2001-06-21 01:03:54 +04:00
ADD_EXECUTABLE(CMakeSetup SRCS)
2001-12-11 10:14:37 +03:00
FLTK_WRAP_UI(CMakeSetup FLTK_GUI_Files_SRCS)
2001-06-21 20:19:36 +04:00
INSTALL_TARGETS (/bin CMakeSetup)
2001-06-28 22:53:08 +04:00
IF(CMAKE_HAS_X)
LINK_LIBRARIES(-lXt -lm)
LINK_LIBRARIES(${CMAKE_X_LIBS})
ADD_DEFINITIONS(${CMAKE_X_CFLAGS})
2001-12-11 10:14:37 +03:00
ENDIF(CMAKE_HAS_X)