Commit 34e371e8 authored by Kevin Kofler's avatar Kevin Kofler

Fix VERSION and SOVERSION of private libraries.

Don't use the obsolete GENERIC_LIB_VERSION and GENERIC_LIB_SOVERSION
macros that are not defined anymore. (CMake was interpreting the missing
strings as "SOVERSION" being the value of the VERSION property.)

BUG: 345148
parent 1c2d71b3
......@@ -30,6 +30,9 @@ find_package(LibKompareDiff2 REQUIRED)
include_directories (${LIBKOMPAREDIFF2_INCLUDE_DIR})
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
set(KOMPARE_LIB_VERSION 5)
set(KOMPARE_LIB_SOVERSION 5)
add_subdirectory( doc )
add_subdirectory( interfaces )
add_subdirectory( libdialogpages )
......
......@@ -15,7 +15,7 @@ target_link_libraries(kompareinterface
Qt5::Core
)
set_target_properties(kompareinterface PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
set_target_properties(kompareinterface PROPERTIES VERSION ${KOMPARE_LIB_VERSION} SOVERSION ${KOMPARE_LIB_SOVERSION} )
install(TARGETS kompareinterface ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(FILES kompareinterface.h DESTINATION ${INCLUDE_INSTALL_DIR}/kompare COMPONENT Devel )
......
......@@ -22,8 +22,8 @@ target_link_libraries(komparedialogpages
${LIBKOMPAREDIFF2_LIBRARIES}
)
set_target_properties(komparedialogpages PROPERTIES VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION} )
set_target_properties(komparedialogpages PROPERTIES VERSION ${KOMPARE_LIB_VERSION}
SOVERSION ${KOMPARE_LIB_SOVERSION} )
install(TARGETS komparedialogpages ${INSTALL_TARGETS_DEFAULT_ARGS})
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