From eb27cec156bd354a7bf14480b8e5760522b8c525 Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Wed, 15 Feb 2023 14:14:19 +0100 Subject: [PATCH] Unit-test the shared library. Only example/c links statically --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c5e8d4..2a48d5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ cmake_minimum_required(VERSION 3.0) # You can downgrade to 2.8, but I d cmake_policy(SET CMP0048 NEW) cmake_policy(SET CMP0063 NEW) # Visibility of preset and hidden lines on shared libs -# set( CMAKE_C_VISIBILITY_PRESET hidden) +set( CMAKE_C_VISIBILITY_PRESET hidden) set( CMAKE_VISIBILITY_INLINES_HIDDEN FALSE) set( CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)