Skip to content

Commit

Permalink
Revert "find_dependency order"
Browse files Browse the repository at this point in the history
This reverts commit d945fac.
  • Loading branch information
dweindl committed Oct 14, 2024
1 parent 5e2fba9 commit f6b2dc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/ParPEConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set(PARPE_ENABLE_IPOPT @PARPE_ENABLE_IPOPT@)
set(PARPE_ENABLE_CERES @PARPE_ENABLE_CERES@)
set(PARPE_ENABLE_FIDES @PARPE_ENABLE_FIDES@)

find_dependency(Amici REQUIRED)

if(${PARPE_ENABLE_MPI})
find_dependency(MPI REQUIRED)
endif()
Expand All @@ -28,7 +30,6 @@ find_dependency(Fides
HINTS "@Fides_DIR@")
endif()

find_dependency(Amici REQUIRED)
find_dependency(OpenMP)
find_dependency(HDF5 COMPONENTS C CXX HL REQUIRED)
find_dependency(Boost COMPONENTS serialization thread REQUIRED)
Expand Down

0 comments on commit f6b2dc7

Please sign in to comment.