From 54503eaeba955bef7d703a432c5dcbd083447dbe Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Tue, 15 Aug 2023 13:37:35 -0400 Subject: [PATCH] Remove E57_VISIBILITY_HIDDEN option --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff284f1..41c41f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,6 @@ option( E57_ENABLE_DIAGNOSTIC_OUTPUT "Include code for diagnostic output using d option( E57_WRITE_CRAZY_PACKET_MODE "Compile library to enable reader-stressing packets" OFF ) # Other compile options -option( E57_VISIBILITY_HIDDEN "Compile library with hidden symbol visibility" ON ) # Link-time optiomization # CMake forces "thin" LTO (see https://gitlab.kitware.com/cmake/cmake/-/issues/23136) @@ -181,14 +180,6 @@ target_compile_definitions( E57Format $<$:E57_WRITE_CRAZY_PACKET_MODE> ) -if ( E57_VISIBILITY_HIDDEN ) - set_target_properties( E57Format - PROPERTIES - CXX_VISIBILITY_PRESET hidden - CMAKE_VISIBILITY_INLINES_HIDDEN ON - ) -endif() - # sanitizers include( Sanitizers )