Commit af542061 by Tim Committed by Eric

Use NEW settings for CMP0063 policy (#399)

This removes warnings when using CMake >= 3.3 if you have symbol visibility set.
parent f3b3dd99
...@@ -5,6 +5,7 @@ project (benchmark) ...@@ -5,6 +5,7 @@ project (benchmark)
foreach(p foreach(p
CMP0054 # CMake 3.1 CMP0054 # CMake 3.1
CMP0056 # export EXE_LINKER_FLAGS to try_run CMP0056 # export EXE_LINKER_FLAGS to try_run
CMP0063 # CMake 3.3 - honour symbol visability for static libraries
) )
if(POLICY ${p}) if(POLICY ${p})
cmake_policy(SET ${p} NEW) cmake_policy(SET ${p} NEW)
......
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