Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
4254917c
Commit
4254917c
authored
9 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Add a warning that some functions are 2.8.12
parent
6d79e113
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneEnableAllPackages.cmake
+9
-0
9 additions, 0 deletions
cmake/modules/DuneEnableAllPackages.cmake
with
9 additions
and
0 deletions
cmake/modules/DuneEnableAllPackages.cmake
+
9
−
0
View file @
4254917c
...
...
@@ -240,6 +240,15 @@ endfunction(dune_enable_all_packages)
function
(
dune_target_enable_all_packages
)
if
(
CMAKE_VERSION VERSION_LESS 2.8.12
)
message
(
FATAL_ERROR
"dune_target_enable_all_packages() needs CMake 2.8.12+"
)
elseif
(
CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12
)
message
(
WARNING
"You are using dune_target_enable_all_packages().
This requires at least CMake 2.9.12, but your Dune module only requires
${
CMAKE_MINIMUM_REQUIRED_VERSION
}
.
Update the cmake_minimum_required() call in your main CMakeLists.txt file to get rid of this warning."
)
endif
()
foreach
(
_target
${
ARGN
}
)
get_property
(
all_incs GLOBAL PROPERTY ALL_PKG_INCS
)
...
...
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