Skip to content

Commit

Permalink
Updated package configuration version check to use SameMajorVersion i…
Browse files Browse the repository at this point in the history
…nstead of ExactVersion, closes #371
  • Loading branch information
p-ranav committed Jul 19, 2024
1 parent 68fd027 commit 1b27c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(ARGPARSE_INSTALL)
endif()

write_basic_package_version_file("${CMAKE_CONFIG_VERSION_FILE_NAME}"
COMPATIBILITY ExactVersion
COMPATIBILITY SameMajorVersion
${OPTIONAL_ARCH_INDEPENDENT}
)

Expand Down

0 comments on commit 1b27c6f

Please sign in to comment.