-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #327 from ICB-DCM/develop
- Loading branch information
Showing
1,001 changed files
with
35,221 additions
and
199,308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,30 @@ | ||
@PACKAGE_INIT@ | ||
|
||
include(CMakeFindDependencyMacro) | ||
|
||
set(PARPE_ENABLE_MPI @PARPE_ENABLE_MPI@) | ||
set(PARPE_ENABLE_IPOPT @PARPE_ENABLE_IPOPT@) | ||
set(PARPE_ENABLE_CERES @PARPE_ENABLE_CERES@) | ||
|
||
if(${PARPE_ENABLE_MPI}) | ||
find_dependency(MPI REQUIRED) | ||
endif() | ||
|
||
if(${PARPE_ENABLE_IPOPT}) | ||
find_dependency(PkgConfig REQUIRED) | ||
pkg_search_module(IPOPT REQUIRED IMPORTED_TARGET GLOBAL ipopt>=3.11.0) | ||
endif() | ||
|
||
if(${PARPE_ENABLE_CERES}) | ||
find_dependency(Ceres COMPONENTS | ||
HINTS "${CMAKE_SOURCE_DIR}/ThirdParty/ceres-solver-2.0.0/build/install") | ||
find_dependency(Eigen3 REQUIRED) | ||
endif() | ||
|
||
find_dependency(Amici REQUIRED) | ||
find_dependency(OpenMP) | ||
find_dependency(HDF5 COMPONENTS C CXX HL REQUIRED) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/ParPETargets.cmake") | ||
set_property(TARGET Upstream::parpe PROPERTY INCLUDE_DIRECTORIES @ParPEConfigIncludes@ @ParPEConfigIncludesCommon@ @ParPEConfigIncludesLoadbalancer@ @ParPEConfigIncludesOptimization@ @ParPEConfigIncludesAmici@) | ||
set_property(TARGET Upstream::parpecommon PROPERTY INCLUDE_DIRECTORIES @ParPEConfigIncludesCommon@) | ||
set_property(TARGET Upstream::parpeloadbalancer PROPERTY INCLUDE_DIRECTORIES @ParPEConfigIncludesLoadbalancer@) | ||
set_property(TARGET Upstream::parpeoptimization PROPERTY INCLUDE_DIRECTORIES @ParPEConfigIncludesOptimization@) | ||
set_property(TARGET Upstream::parpeamici PROPERTY INCLUDE_DIRECTORIES @ParPEConfigIncludesAmici@) | ||
get_property(ParPE_INCLUDE_DIRS TARGET Upstream::parpe PROPERTY INCLUDE_DIRECTORIES) | ||
set(ParPE_LIBRARIES Upstream::parpe) | ||
|
||
check_required_components(ParPE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.