26 lines
431 B
CMake
26 lines
431 B
CMake
SOURCE_FILES(SRCS
|
|
CMakeSetupGUI.cxx
|
|
CMakeSetupGUIImplementation.cxx
|
|
FLTKDialog.cxx
|
|
FLTKPropertyItemRow.cxx
|
|
FLTKPropertyList.cxx
|
|
)
|
|
|
|
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})
|
|
|
|
ADD_EXECUTABLE(CMakeSetup SRCS)
|
|
|