Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
9bcb4c2e
Commit
9bcb4c2e
authored
Nov 24, 2020
by
Carsten Burgard
💬
Browse files
adding new policy to allow overriding options from master cmake files
parent
1af43b5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9bcb4c2e
...
...
@@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.4.3 FATAL_ERROR)
IF
(
COMMAND CMAKE_POLICY
)
CMAKE_POLICY
(
SET CMP0003 NEW
)
# change linker path search behaviour
CMAKE_POLICY
(
SET CMP0048 NEW
)
# set project version
CMAKE_POLICY
(
SET CMP0077 NEW
)
# allow overwriting options with normal variables
ENDIF
(
COMMAND CMAKE_POLICY
)
# Set default version
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment