mirror of
https://github.com/google/benchmark.git
synced 2025-01-14 05:40:14 +08:00
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:
parent
f3b3dd99be
commit
af542061c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user