do not install .so symlink for private libraries

distributions don't like it

REVIEW: 123112
This commit is contained in:
Harald Sitter 2015-03-23 15:35:54 +01:00
parent f237a659ec
commit 85782aaba4

View file

@ -26,4 +26,6 @@ set_target_properties(kdeconnectpluginkcm PROPERTIES
target_include_directories(kdeconnectpluginkcm PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
generate_export_header(kdeconnectpluginkcm EXPORT_FILE_NAME ${CMAKE_CURRENT_BINARY_DIR}../core/kdeconnectcore_export.h BASE_NAME kdeconnectpluginkcm)
install(TARGETS kdeconnectpluginkcm EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
# Remove NAMELINK_SKIP if/when headers are being installed and the library
# becomes public.
install(TARGETS kdeconnectpluginkcm EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)