From 0d250dea7637effd124ba6c69cdfa22f5e964817 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Sun, 12 Aug 2018 21:36:13 -0700 Subject: [PATCH] Honor visibility options when compiled as a static library (#1276) * Honor visibility options when compiled as a static library * . * . --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 677244c5b0c..618ef0568fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ if(NOT CMAKE_BUILD_TYPE) "Choose the type of build from: Debug Release RelWithDebInfo MinSizeRel Coverage." FORCE) endif() +cmake_policy(SET CMP0063 NEW) # Project project(onnx C CXX)