From 85782aaba4c22a60f9c15617aeb71807353672ad Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Mon, 23 Mar 2015 15:35:54 +0100 Subject: [PATCH] do not install .so symlink for private libraries distributions don't like it REVIEW: 123112 --- kcmplugin/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kcmplugin/CMakeLists.txt b/kcmplugin/CMakeLists.txt index aeb60d22c..06f3d6c1d 100644 --- a/kcmplugin/CMakeLists.txt +++ b/kcmplugin/CMakeLists.txt @@ -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)