Skip to content

Commit 2a2a645

Browse files
committed
Find OpenMP on Darwin
1 parent 911032e commit 2a2a645

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/solver/CMakeLists.txt

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@
88
# US EPA ORD/CESER
99
#
1010

11+
if(APPLE)
12+
set(
13+
CMAKE_PREFIX_PATH
14+
../../deps/openmp-16.0.0-Darwin/
15+
)
16+
endif()
1117

12-
find_package(OpenMP)
18+
find_package(
19+
OpenMP
20+
COMPONENTS
21+
C REQUIRED
22+
)
1323

1424

1525
# configure file groups

0 commit comments

Comments
 (0)