Skip to content

Commit

Permalink
find openmp in cmake config file
Browse files Browse the repository at this point in the history
  • Loading branch information
gridley committed Apr 12, 2024
1 parent 1c4995f commit 3fdddfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/OpenMCConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if(@OPENMC_USE_MPI@)
find_package(MPI REQUIRED)
endif()

if(@OPENMC_USE_OPENMP@)
find_package(OpenMP REQUIRED)
endif()

if(@OPENMC_USE_MCPL@)
find_package(MCPL REQUIRED)
endif()

0 comments on commit 3fdddfa

Please sign in to comment.