From cb55cf5a39ac4a6b00146f56a9ea9e648aaa8bcd Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Mon, 21 Nov 2016 09:20:16 -0500
Subject: [PATCH] Set CMake Policy CMP0063 to NEW within KWSys

Make KWSys honor visibility properties set by the consuming project.

Change-Id: I66b982d955089bc78f88e29c4a7bc19bf2abec00
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fbd25c3..b8a9a6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,6 +70,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
 FOREACH(p
     CMP0025 # CMake 3.0, Compiler id for Apple Clang is now AppleClang.
     CMP0056 # CMake 3.2, Honor link flags in try_compile() source-file signature.
+    CMP0063 # CMake 3.3, Honor visibility properties for all target types.
     )
   IF(POLICY ${p})
     CMAKE_POLICY(SET ${p} NEW)
-- 
GitLab