summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-private/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/CMakeLists.txt b/apt-private/CMakeLists.txt
index 5dda36c92..88a8f97fe 100644
--- a/apt-private/CMakeLists.txt
+++ b/apt-private/CMakeLists.txt
@@ -15,6 +15,7 @@ add_library(apt-private SHARED ${library})
target_link_libraries(apt-private PUBLIC apt-pkg)
set_target_properties(apt-private PROPERTIES VERSION ${MAJOR}.${MINOR})
set_target_properties(apt-private PROPERTIES SOVERSION ${MAJOR})
+set_target_properties(apt-private PROPERTIES CXX_VISIBILITY_PRESET hidden)
add_version_script(apt-private)
# Install the library and the headers