0026600: CMake should disable auto-link for TBB
[occt.git] / src / TKMesh / CMakeLists.txt
index 87efacf..da43fb4 100644 (file)
@@ -4,11 +4,9 @@ set (TOOLKIT_MODULES
   BRepMesh
 )
 
-if(NOT WIN32)
-  if(USE_TBB)
-    list( APPEND USED_LIBS tbb )
-    list( APPEND USED_LIBS tbbmalloc )
-  endif()
+if(USE_TBB)
+  list( APPEND USED_LIBS tbb )
+  list( APPEND USED_LIBS tbbmalloc )
 endif()
 
 OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)