Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
ec81ab80
Commit
ec81ab80
authored
Sep 01, 2009
by
Christopher Bruns
Browse files
Wrap cmake policy settings in additional layer of if(POLICY ...).
parent
29d3e54c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
CMakeLists.txt
CMakeLists.txt
+9
-3
No files found.
CMakeLists.txt
View file @
ec81ab80
...
...
@@ -18,9 +18,15 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
if
(
COMMAND cmake_policy
)
if
(
POLICY CMP0003
)
cmake_policy
(
SET CMP0003 NEW
)
endif
(
POLICY CMP0003
)
if
(
POLICY CMP0005
)
cmake_policy
(
SET CMP0005 NEW
)
endif
(
POLICY CMP0005
)
if
(
POLICY CMP0011
)
cmake_policy
(
SET CMP0011 NEW
)
endif
(
POLICY CMP0011
)
endif
(
COMMAND cmake_policy
)
# Don't create a new project name if this is part of a mega-build from the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment