We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
core
${PPC_TBB_LIB_NAME}
1 parent ae2f207 commit b6356f9Copy full SHA for b6356f9
1 file changed
modules/core/CMakeLists.txt
@@ -54,11 +54,7 @@ target_link_libraries(${exec_func_lib} PUBLIC ${OpenMP_libomp_LIBRARY} OpenMP::O
54
add_dependencies(${exec_func_lib} ppc_onetbb)
55
target_link_directories(${exec_func_lib} PUBLIC ${CMAKE_BINARY_DIR}/ppc_onetbb/install/lib)
56
if(NOT MSVC)
57
- if(CMAKE_BUILD_TYPE STREQUAL "Debug")
58
- target_link_libraries(${exec_func_lib} PUBLIC tbb_debug)
59
- else()
60
- target_link_libraries(${exec_func_lib} PUBLIC tbb)
61
- endif()
+ target_link_libraries(${exec_func_lib} PUBLIC ${PPC_TBB_LIB_NAME})
62
endif()
63
64
find_package(MPI REQUIRED)
0 commit comments