Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-06-21 12:58:27 +0300
committerHannah von Reth <vonreth@kde.org>2022-06-21 13:00:10 +0300
commit1c57cb722a06c1a8399cb8d7465ab3cef1a6af59 (patch)
treeb6a2a1fbcb82aba65d268a01df9bc7233351d5a0 /src/CMakeLists.txt
parent7e8163e126a6f070df840ca6799e865881eb3430 (diff)
CMake: install cmake version info
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dfc845d49..878bce1bb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -54,3 +54,9 @@ endif(NOT BUILD_LIBRARIES_ONLY)
add_subdirectory(plugins)
install(EXPORT ownCloudConfig DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/ownCloud" NAMESPACE ownCloud::)
+
+ecm_setup_version(PROJECT VARIABLE_PREFIX ownCloud
+ PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/ownCloudConfigVersion.cmake"
+ SOVERSION ${MIRALL_SOVERSION})
+
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ownCloudConfigVersion.cmake" DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/ownCloud")