summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/CMakeLists.txt
blob: 1c5e8c9b754c7a917c0a0b7edd16be66916ca4d5 (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
26
27
SOURCE_FILES(SRCS
CMakeSetupGUI.cxx
CMakeSetupGUIImplementation.cxx
FLTKDialog.cxx
FLTKPropertyItemRow.cxx
FLTKPropertyList.cxx
FLTKPropertyNameButtonWithHelp.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(CMakeSetupDialog SRCS)