0025162: Visualization, TKOpenGl - drop GLU library dependency
[occt.git] / src / TKV3d / CMakeLists.txt
CommitLineData
19286d7c 1project(TKV3d)
2
3set (TOOLKIT_MODULES
4 V3d
5 Graphic3d
6 Visual3d
7 Select3D
8 Prs3d
9 StdPrs
10 SelectMgr
11 PrsMgr
12 AIS
13 DsgPrs
14 StdSelect
15)
16
17if (WIN32)
18 list( APPEND USED_LIBS user32.lib )
19 list( APPEND USED_LIBS gdi32.lib )
20 list( APPEND USED_LIBS opengl32.lib )
19286d7c 21elseif(APPLE)
22 find_library(FRAMEWORKS_OPENGL NAMES OpenGL)
23 if(USE_GLX)
24 list( APPEND USED_LIBS GL )
19286d7c 25 else()
26 list( APPEND USED_LIBS ${FRAMEWORKS_OPENGL} )
27 endif()
28 list( APPEND USED_LIBS freetype )
29else()
19286d7c 30 list( APPEND USED_LIBS GL )
31 list( APPEND USED_LIBS freetype )
32endif()
33
f2e9c853 34OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)