Skip to content

Commit

Permalink
Find OpenMP on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltryby committed Oct 4, 2024
1 parent 911032e commit 2a2a645
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/solver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a2a645

Please sign in to comment.