Skip to content

Commit

Permalink
Disable hidden visibility by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mvieth committed Aug 12, 2024
1 parent 0fc4ce9 commit 8c64493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/pcl_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ option(PCL_DISABLE_GPU_TESTS "Disable running GPU tests. If disabled, tests will
option(PCL_DISABLE_VISUALIZATION_TESTS "Disable running visualizations tests. If disabled, tests will still be built." OFF)

# This leads to smaller libraries, possibly faster code, and fixes some bugs. See https://gcc.gnu.org/wiki/Visibility
option(PCL_SYMBOL_VISIBILITY_HIDDEN "Hide all binary symbols by default, export only those explicitly marked (gcc and clang only). Experimental!" ON)
option(PCL_SYMBOL_VISIBILITY_HIDDEN "Hide all binary symbols by default, export only those explicitly marked (gcc and clang only). Experimental!" OFF)
mark_as_advanced(PCL_SYMBOL_VISIBILITY_HIDDEN)
if(PCL_SYMBOL_VISIBILITY_HIDDEN)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
Expand Down

0 comments on commit 8c64493

Please sign in to comment.