0026600: CMake should disable auto-link for TBB
[occt.git] / src / TKQADraw / CMakeLists.txt
1 project(TKQADraw)
2
3 set (TOOLKIT_MODULES
4   QABugs
5   QADNaming
6   QADraw
7   QANCollection
8   QANewBRepNaming
9   QANewDBRepNaming
10   QANewModTopOpe
11 )
12
13 if (WIN32)
14   list( APPEND USED_LIBS gdi32.lib )
15   list( APPEND USED_LIBS advapi32.lib )
16   list( APPEND USED_LIBS user32.lib )
17 endif()
18
19 if(USE_TBB)
20   list( APPEND USED_LIBS tbb )
21   list( APPEND USED_LIBS tbbmalloc )
22 endif()
23
24 OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)