Skip to content

Commit c2da6ab

Browse files
committed
Remove OpenMP as a dependency as it is not used in the code
1 parent 3d07376 commit c2da6ab

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ find_package(HDF5 REQUIRED COMPONENTS CXX)
8181

8282
find_package(Eigen3 REQUIRED)
8383

84-
find_package(OpenMP REQUIRED)
85-
8684
find_package(MPI REQUIRED)
8785

8886
find_package(FFTW3 REQUIRED COMPONENTS DOUBLE MPI)
@@ -225,9 +223,6 @@ target_compile_definitions(FANS_FANS PUBLIC ${FFTW3_DEFINITIONS})
225223

226224
target_link_libraries(FANS_FANS PUBLIC Eigen3::Eigen)
227225

228-
target_link_libraries(FANS_FANS PUBLIC OpenMP::OpenMP_CXX)
229-
230-
231226
target_link_libraries(FANS_main PRIVATE FANS::FANS)
232227

233228
# ##############################################################################

cmake/FANSConfig.cmake.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ if (NOT HDF5_C_IS_PARALLEL)
1818
message(FATAL_ERROR "Parallel HDF5 implementation (mpi) required but not found!")
1919
endif()
2020
find_dependency(Eigen3)
21-
find_dependency(OpenMP)
2221
find_dependency(MPI)
2322
find_dependency(FFTW3 COMPONENTS DOUBLE MPI)
2423

0 commit comments

Comments
 (0)