Commit 9bcb4c2e authored by Carsten Burgard's avatar Carsten Burgard 💬
Browse files

adding new policy to allow overriding options from master cmake files

parent 1af43b5d
...@@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.4.3 FATAL_ERROR) ...@@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.4.3 FATAL_ERROR)
IF(COMMAND CMAKE_POLICY) IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW) # change linker path search behaviour CMAKE_POLICY(SET CMP0003 NEW) # change linker path search behaviour
CMAKE_POLICY(SET CMP0048 NEW) # set project version CMAKE_POLICY(SET CMP0048 NEW) # set project version
CMAKE_POLICY(SET CMP0077 NEW) # allow overwriting options with normal variables
ENDIF(COMMAND CMAKE_POLICY) ENDIF(COMMAND CMAKE_POLICY)
# Set default version # Set default version
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment