mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026600: CMake should disable auto-link for TBB
implicit tbb linkage disabled
This commit is contained in:
@@ -25,15 +25,14 @@ if (WIN32)
|
||||
list( APPEND USED_LIBS gdi32.lib )
|
||||
list( APPEND USED_LIBS user32.lib )
|
||||
list( APPEND USED_LIBS kernel32.lib )
|
||||
else()
|
||||
if (NOT APPLE)
|
||||
list( APPEND USED_LIBS pthread )
|
||||
list( APPEND USED_LIBS rt )
|
||||
endif()
|
||||
if(USE_TBB)
|
||||
list( APPEND USED_LIBS tbb )
|
||||
list( APPEND USED_LIBS tbbmalloc )
|
||||
endif()
|
||||
elseif (NOT APPLE)
|
||||
list( APPEND USED_LIBS pthread )
|
||||
list( APPEND USED_LIBS rt )
|
||||
endif()
|
||||
|
||||
if(USE_TBB)
|
||||
list( APPEND USED_LIBS tbb )
|
||||
list( APPEND USED_LIBS tbbmalloc )
|
||||
endif()
|
||||
|
||||
OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)
|
||||
|
Reference in New Issue
Block a user