Merge pull request #5784 from OgreTransporter/bugfix-cmaketbb-5782

Bugfix TBB linking #5782
This commit is contained in:
Denis Chapligin
2020-08-19 12:39:00 +03:00
committed by GitHub
+2 -2
View File
@@ -535,8 +535,8 @@ else()
find_package(TBB REQUIRED) find_package(TBB REQUIRED)
add_dependency_includes(${TBB_INCLUDE_DIR}) add_dependency_includes(${TBB_INCLUDE_DIR})
if(WIN32 AND CMAKE_BUILD_TYPE MATCHES Debug) if(WIN32)
set(TBB_LIBRARIES ${TBB_DEBUG_LIBRARIES}) set(TBB_LIBRARIES optimized ${TBB_LIBRARY} optimized ${TBB_MALLOC_LIBRARY} debug ${TBB_LIBRARY_DEBUG} debug ${TBB_MALLOC_LIBRARY_DEBUG})
endif() endif()
find_package(EXPAT REQUIRED) find_package(EXPAT REQUIRED)