Commit e580d991 by Matthias Walter

Setting CMP0054 policy to NEW. This allows to use the string "SHARED" without…

Setting CMP0054 policy to NEW. This allows to use the string "SHARED" without interpreting it as a variable.
parent af4c2cb0
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
# Test and Google Mock's option() definitions, and thus must be # Test and Google Mock's option() definitions, and thus must be
# called *after* the options have been defined. # called *after* the options have been defined.
if (POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif (POLICY CMP0054)
# Tweaks CMake's default compiler/linker settings to suit Google Test's needs. # Tweaks CMake's default compiler/linker settings to suit Google Test's needs.
# #
# This must be a macro(), as inside a function string() can only # This must be a macro(), as inside a function string() can only
......
Markdown is supported
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