mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-24 16:03:59 +02:00
Fix FindTBB on linux in debug mode.
This commit is contained in:
@@ -260,6 +260,10 @@ if(NOT TBB_FOUND)
|
|||||||
if(TBB_LIBRARIES_${TBB_BUILD_TYPE})
|
if(TBB_LIBRARIES_${TBB_BUILD_TYPE})
|
||||||
set(TBB_LIBRARIES "${TBB_LIBRARIES_${TBB_BUILD_TYPE}}")
|
set(TBB_LIBRARIES "${TBB_LIBRARIES_${TBB_BUILD_TYPE}}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT MSVC AND NOT TBB_LIBRARIES)
|
||||||
|
set(TBB_LIBRARIES ${TBB_LIBRARIES_RELEASE})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (MSVC AND TBB_STATIC)
|
if (MSVC AND TBB_STATIC)
|
||||||
set(TBB_DEFINITIONS __TBB_NO_IMPLICIT_LINKAGE)
|
set(TBB_DEFINITIONS __TBB_NO_IMPLICIT_LINKAGE)
|
||||||
|
|||||||
Reference in New Issue
Block a user