diff --git a/src/solver/CMakeLists.txt b/src/solver/CMakeLists.txt index 8fc8504b5..aca263d15 100644 --- a/src/solver/CMakeLists.txt +++ b/src/solver/CMakeLists.txt @@ -8,8 +8,18 @@ # US EPA ORD/CESER # +if(APPLE) + set( + CMAKE_PREFIX_PATH + ../../deps/openmp-16.0.0-Darwin/ + ) +endif() -find_package(OpenMP) +find_package( + OpenMP + COMPONENTS + C REQUIRED +) # configure file groups