Skip to content

Commit

Permalink
Remove E57_VISIBILITY_HIDDEN option
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney committed Aug 15, 2023
1 parent 7f323ae commit 54503ea
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -181,14 +180,6 @@ target_compile_definitions( E57Format
$<$<BOOL:${E57_WRITE_CRAZY_PACKET_MODE}>: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 )

Expand Down

0 comments on commit 54503ea

Please sign in to comment.