We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461bf7c commit dead833Copy full SHA for dead833
cmake/openmp.cmake
@@ -20,10 +20,8 @@ endfunction()
20
21
function(ppc_link_openmp exec_func_lib)
22
find_package(OpenMP REQUIRED)
23
- # Link the canonical imported target if available
24
- if(TARGET OpenMP::OpenMP_CXX)
25
- target_link_libraries(${exec_func_lib} PUBLIC OpenMP::OpenMP_CXX)
26
- endif()
+ target_link_libraries(${exec_func_lib} PUBLIC ${OpenMP_libomp_LIBRARY}
+ OpenMP::OpenMP_CXX)
27
28
if(APPLE)
29
# Homebrew libomp common paths
0 commit comments