mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
cmake: set visibility preset to hidden
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f08d4d6605
commit
b5b8a8fd00
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ set(CMAKE_SKIP_BUILD_RPATH FALSE)
|
|||
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
# do not export symbols that are not public
|
||||
set(CMAKE_C_VISIBILITY_PRESET "hidden")
|
||||
set(CMAKE_CXX_VISIBILITY_PRESET "hidden")
|
||||
|
||||
# define the generic version of the libraries here, this makes it easy to
|
||||
# advance it when the next KDE release comes. Use this version number for
|
||||
# libraries
|
||||
|
|
Loading…
Add table
Reference in a new issue