From fb5347038d30fe2ca4dd21de1dff21dea1039965 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 10 Mar 2019 23:07:31 +0100 Subject: [PATCH] Fix wrong policy number --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 82da9bfa3..c7d4acac8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -497,7 +497,7 @@ endif() # Visibility # See https://gcc.gnu.org/wiki/Visibility -if(POLICY CMP0053) +if(POLICY CMP0063) cmake_policy(SET CMP0063 NEW) set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_C_VISIBILITY_PRESET hidden)