Skip to content

Commit

Permalink
Update symbol visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Aug 27, 2024
1 parent 78a3a6f commit 959f3e5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ project(bfio_cpp)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)

include(GNUInstallDirs)
# this is a workaround for GitHub Action for wheelbuiling
if(DEFINED ENV{BFIOCPP_DEP_DIR})
Expand Down Expand Up @@ -70,9 +73,5 @@ endif()

target_link_libraries(libbfiocpp PRIVATE
tensorstore::tensorstore
tensorstore_driver_zarr_driver
tensorstore_index_space
tensorstore_internal_image_tiff
tensorstore_kvstore_file
tensorstore_internal_os_error_code)
tensorstore::all_drivers)
target_link_libraries(libbfiocpp PRIVATE ${Build_LIBRARIES})

0 comments on commit 959f3e5

Please sign in to comment.