summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/CMakeLists.txt
blob: 4c5b27319583b7913af5cb7fbb42a81142f47d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)
INSTALL_TARGETS (/bin CMakeSetup)