Commit 763ec6d3 authored by Fabian Vogt's avatar Fabian Vogt

Rename libbreezecommon to libbreezecommon5 and don't install .so links

Summary:
libbreezecommon is not meant to be used outside of breeze (it can't, no headers
are installed) so the .so link is not necessary.

Additionally, rename libbreezecommon.so.5 to libbreezecommon5.so.5 for symmetry
with libbreezecommon4.so.5.

Test Plan: Built and installed it - still works.

Reviewers: #breeze, zzag

Reviewed By: zzag

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14599
parent 0c7f3516
......@@ -75,7 +75,7 @@ target_link_libraries(breezedecoration
Qt5::Gui
Qt5::DBus
PRIVATE
breezecommon
breezecommon5
KDecoration2::KDecoration
KF5::ConfigCore
KF5::CoreAddons
......
......@@ -164,7 +164,7 @@ else()
target_link_libraries(breeze Qt5::Quick)
endif()
target_link_libraries(breeze KF5::ConfigCore KF5::ConfigWidgets KF5::GuiAddons KF5::WindowSystem)
target_link_libraries(breeze breezecommon)
target_link_libraries(breeze breezecommon5)
if( KF5FrameworkIntegration_FOUND )
target_link_libraries(breeze KF5::Style)
......
......@@ -41,24 +41,24 @@ if (BREEZE_COMMON_USE_KDE4)
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
install(TARGETS breezecommon4 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS breezecommon4 ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
else ()
add_library(breezecommon ${breezecommon_LIB_SRCS})
add_library(breezecommon5 ${breezecommon_LIB_SRCS})
generate_export_header(breezecommon
generate_export_header(breezecommon5
BASE_NAME breezecommon
EXPORT_FILE_NAME breezecommon_export.h)
target_link_libraries(breezecommon
target_link_libraries(breezecommon5
PUBLIC
Qt5::Core
Qt5::Gui
PRIVATE
${FFTW_LIBRARIES})
set_target_properties(breezecommon PROPERTIES
set_target_properties(breezecommon5 PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
install(TARGETS breezecommon ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS breezecommon5 ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
endif ()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment