From 8be254440118a3e912afb7f72e2a8ce734d2cb75 Mon Sep 17 00:00:00 2001 From: ToKiNoBug Date: Thu, 26 Oct 2023 13:04:45 +0800 Subject: [PATCH] Change compatibility of cmake pack to SameMajorVersion Signed-off-by: ToKiNoBug --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b38e30d6..79d43cc1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -48,7 +48,7 @@ configure_package_config_file(${PROJECT_SOURCE_DIR}/cmake/komputeConfig.cmake.in write_basic_package_version_file( "${PROJECT_BINARY_DIR}/kompute/komputeConfigVersion.cmake" VERSION ${CMAKE_PROJECT_VERSION} - COMPATIBILITY AnyNewerVersion # Other possible values: SameMajorVersion, SameMinorVersion, ExactVersion + COMPATIBILITY SameMajorVersion# All possible values: SameMajorVersion, SameMinorVersion, ExactVersion, AnyNewerVersion ) install(FILES ${PROJECT_BINARY_DIR}/kompute/komputeConfig.cmake