Skip to content

Commit

Permalink
Change compatibility of cmake pack to SameMajorVersion
Browse files Browse the repository at this point in the history
Signed-off-by: ToKiNoBug <[email protected]>
  • Loading branch information
ToKiNoBug committed Oct 26, 2023
1 parent 069527a commit 8be2544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8be2544

Please sign in to comment.