File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,4 @@ function(ppc_link_openmp exec_func_lib)
2222 find_package (OpenMP REQUIRED)
2323 target_link_libraries (${exec_func_lib} PUBLIC ${OpenMP_libomp_LIBRARY}
2424 OpenMP::OpenMP_CXX)
25-
26- if (APPLE )
27- # Homebrew libomp common paths
28- find_path (LIBOMP_INCLUDE_DIR omp.h HINTS /opt/homebrew/opt/libomp/include
29- /usr/local/opt/libomp/include )
30- find_library (LIBOMP_LIBRARY omp HINTS /opt/homebrew/opt/libomp/lib
31- /usr/local/opt/libomp/lib)
32- if (LIBOMP_INCLUDE_DIR)
33- target_include_directories (${exec_func_lib} PUBLIC ${LIBOMP_INCLUDE_DIR} )
34- endif ()
35- if (LIBOMP_LIBRARY)
36- target_link_libraries (${exec_func_lib} PUBLIC ${LIBOMP_LIBRARY} )
37- # Ensure Clang generates OpenMP code
38- target_compile_options (${exec_func_lib} PUBLIC -Xclang -fopenmp)
39- endif ()
40- endif ()
4125endfunction ()
You can’t perform that action at this time.
0 commit comments