summaryrefslogtreecommitdiff
path: root/Source/FLTKDialog/CMakeLists.txt
blob: d110cd842acb99dd9844334a1f8359ac324bce1b (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
CMakeSetupGUIImplementation
FLTKDialog
FLTKPropertyItemRow
FLTKPropertyList
FLTKPropertyNameButtonWithHelp
)


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)