Commit ac65a0ec authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix generate ConfigVersion

parent 0b087bd5
......@@ -18,11 +18,11 @@ include(KDEFrameworkCompilerSettings)
set(KF5_VERSION "5.1.0")
set(KDEPIMLIBS_VERSION "4.70.0")
set(KDEPIMLIBS_VERSION "4.71.0")
ecm_setup_version(${KDEPIMLIBS_VERSION} VARIABLE_PREFIX KPIMIDENTITIES
ecm_setup_version(${KDEPIMLIBS_VERSION} VARIABLE_PREFIX KIDENTITYMANAGEMENT
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kidentitymanagement_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5IdentityManagementConfig.cmake"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5IdentityManagementConfigVersion.cmake"
SOVERSION 5
)
......@@ -61,7 +61,7 @@ ecm_configure_package_config_file(
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/KF5IdentityManagementConfig.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/KF5IdentityManagementVersion.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/KF5IdentityManagementConfigVersion.cmake"
DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
COMPONENT Devel
)
......
......@@ -3,4 +3,4 @@
find_dependency(KF5CoreAddons "@KF5_VERSION@")
find_dependency(KF5PimTextEdit "@KDEPIMLIBS_VERSION@")
include("${CMAKE_CURRENT_LIST_DIR}/KF5PimIdentitiesTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/KF5IdentityManagementTargets.cmake")
......@@ -34,8 +34,8 @@ PRIVATE
)
set_target_properties(KF5IdentityManagement PROPERTIES
VERSION ${KPIMIDENTITIES_VERSION_STRING}
SOVERSION ${KPIMIDENTITIES_SOVERSION}
VERSION ${KIDENTITYMANAGEMENT_VERSION_STRING}
SOVERSION ${KIDENTITYMANAGEMENT_SOVERSION}
EXPORT_NAME IdentityManagement
)
......
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