Skip to content

Commit

Permalink
cmake: Fix compatibility in package version file
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Nov 22, 2024
1 parent de47847 commit 2ef1beb
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 @@ -600,7 +600,7 @@ install(
write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/libxml2-config-version.cmake
VERSION ${PROJECT_VERSION}
COMPATIBILITY ExactVersion
COMPATIBILITY SameMajorVersion
)

install(
Expand Down

0 comments on commit 2ef1beb

Please sign in to comment.