Use NEW settings for CMP0063 policy (#399)

This removes warnings when using CMake >= 3.3 if you have symbol visibility set.
This commit is contained in:
Tim 2017-06-14 01:42:07 +01:00 committed by Eric
parent f3b3dd99be
commit af542061c5

View File

@ -5,6 +5,7 @@ project (benchmark)
foreach(p
CMP0054 # CMake 3.1
CMP0056 # export EXE_LINKER_FLAGS to try_run
CMP0063 # CMake 3.3 - honour symbol visability for static libraries
)
if(POLICY ${p})
cmake_policy(SET ${p} NEW)