mirror of
https://github.com/wjakob/tbb.git
synced 2026-08-29 08:34:40 +08:00
fix AppVeyor debug mode (account for '_debug' suffix)
This commit is contained in:
+2
-2
@@ -340,10 +340,10 @@ if (TBB_BUILD_TESTS)
|
||||
add_dependencies (tests test_${testname})
|
||||
if (TBB_BUILD_SHARED)
|
||||
target_link_libraries (test_${testname} tbb tbbmalloc)
|
||||
target_compile_definitions(test_${testname} PRIVATE __TBB_LIB_NAME=tbb)
|
||||
target_compile_definitions(test_${testname} PRIVATE __TBB_LIB_NAME=tbb$<$<CONFIG:Debug>:_debug>)
|
||||
else ()
|
||||
target_link_libraries (test_${testname} tbb_static tbbmalloc_static)
|
||||
target_compile_definitions(test_${testname} PRIVATE __TBB_LIB_NAME=tbb_static)
|
||||
target_compile_definitions(test_${testname} PRIVATE __TBB_LIB_NAME=tbb_static$<$<CONFIG:Debug>:_debug>)
|
||||
endif ()
|
||||
if (LIBRT_LIBRARIES)
|
||||
target_link_libraries (test_${testname} ${LIBRT_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user