File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ if(NOT MPI_FOUND)
44endif ()
55
66function (ppc_link_mpi exec_func_lib)
7- find_package (MPI REQUIRED)
87 if (MPI_COMPILE_FLAGS)
98 set_target_properties (${exec_func_lib} PROPERTIES COMPILE_FLAGS
109 "${MPI_COMPILE_FLAGS} " )
Original file line number Diff line number Diff line change @@ -14,16 +14,6 @@ if(MSVC AND NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
1414 CACHE STRING "OpenMP CXX specification date" FORCE)
1515endif ()
1616
17- find_package (OpenMP)
18- if (OpenMP_FOUND)
19- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS} " )
20- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS} " )
21- set (CMAKE_EXE_LINKER_FLAGS
22- "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS} " )
23- else (OpenMP_FOUND)
24- message (FATAL_ERROR "OpenMP NOT FOUND" )
25- endif (OpenMP_FOUND)
26-
2717function (ppc_link_threads exec_func_lib)
2818 target_link_libraries (${exec_func_lib} PUBLIC Threads::Threads)
2919endfunction ()
You can’t perform that action at this time.
0 commit comments