From db678df196ccd8f9f6fb336706cf5701d1e53aa6 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 13 Aug 2019 19:15:19 +0200 Subject: apt-pkg: default visibility to hidden --- apt-pkg/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-pkg/CMakeLists.txt') diff --git a/apt-pkg/CMakeLists.txt b/apt-pkg/CMakeLists.txt index e9a629ccf..7e51b1775 100644 --- a/apt-pkg/CMakeLists.txt +++ b/apt-pkg/CMakeLists.txt @@ -66,6 +66,7 @@ target_link_libraries(apt-pkg ) set_target_properties(apt-pkg PROPERTIES VERSION ${MAJOR}.${MINOR}) set_target_properties(apt-pkg PROPERTIES SOVERSION ${MAJOR}) +set_target_properties(apt-pkg PROPERTIES CXX_VISIBILITY_PRESET hidden) add_version_script(apt-pkg) # Install the library and the header files -- cgit v1.2.3