Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-copasi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COPASI
dune-copasi
Commits
5a48bcb5
Commit
5a48bcb5
authored
4 years ago
by
Santiago Ospina De Los Ríos
Browse files
Options
Downloads
Patches
Plain Diff
Evaluate module paths correctly
parent
041fe215
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!49
Resolve "Finish installation and usage instruction on the documentation"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-2
4 additions, 2 deletions
CMakeLists.txt
cmake/pkg/dune-copasi-config.cmake.in
+6
-2
6 additions, 2 deletions
cmake/pkg/dune-copasi-config.cmake.in
with
10 additions
and
4 deletions
CMakeLists.txt
+
4
−
2
View file @
5a48bcb5
...
...
@@ -3,14 +3,16 @@ project(dune-copasi CXX)
cmake_policy
(
SET CMP0074 NEW
)
#find dune-common
and set the module path
#
find dune-common
find_package
(
dune-common REQUIRED
)
# make sure to find cmake modules
list
(
APPEND CMAKE_MODULE_PATH
"
${
PROJECT_SOURCE_DIR
}
/cmake/modules"
"
${
dune-common_MODULE_PATH
}
"
)
#include
the dune macro
s
#
include
macros for dune project
s
include
(
DuneMacros
)
option
(
USE_FALLBACK_FILESYSTEM
...
...
This diff is collapsed.
Click to expand it.
cmake/pkg/dune-copasi-config.cmake.in
+
6
−
2
View file @
5a48bcb5
...
...
@@ -28,7 +28,8 @@ if(NOT dune-copasi_FOUND)
# setup basic dune dependecy
find_dependency(dune-common REQUIRED)
list(APPEND CMAKE_MODULE_PATH "@dune-common_MODULE_PATH@" "@dune-copasi_MODULE_PATH@")
# make sure to find cmake modules for dune-common
list(APPEND CMAKE_MODULE_PATH "${dune-common_MODULE_PATH}")
include(DuneMacros)
# setup other dune dependecies
...
...
@@ -37,7 +38,10 @@ if(NOT dune-copasi_FOUND)
dune_process_dependency_macros()
swap_args(ProjectName _ProjectName)
# setup other dependencies
# make sure to find cmake modules for dune-copasi
list(APPEND CMAKE_MODULE_PATH "${dune-copasi_MODULE_PATH}")
# setup dependencies
find_dependency(muparser)
find_dependency(TIFF)
find_dependency(Filesystem)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment