2020-10-25 12:34:02 +00:00
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
SPDX-FileCopyrightText: 2020 Carles Fernandez-Prades <carles.fernandez@cttc.es>
|
2020-10-25 10:33:45 +00:00
|
|
|
--- CMakeLists.txt 2020-10-25 10:06:26.000000000 +0100
|
|
|
|
+++ CMakeLists.txt 2020-10-25 10:06:11.000000000 +0100
|
2020-12-02 13:27:59 +00:00
|
|
|
@@ -77,7 +77,16 @@
|
2020-10-25 10:33:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
include( BuildSetup.cmake )
|
|
|
|
-
|
|
|
|
+set(STADYN "STATIC")
|
2020-11-15 20:26:55 +00:00
|
|
|
+if(POLICY CMP0063)
|
|
|
|
+ cmake_policy(SET CMP0063 NEW)
|
|
|
|
+ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
|
|
|
+ set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
|
|
|
+else()
|
|
|
|
+ if((CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32)
|
|
|
|
+ add_definitions(-fvisibility=hidden)
|
|
|
|
+ endif()
|
|
|
|
+endif()
|
2020-10-25 10:33:45 +00:00
|
|
|
#============================================================
|
|
|
|
# Core Library Target Files
|
|
|
|
#============================================================
|