Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit b347a00

Browse files
committed
cmake: Fix compatibility in package version file
See microsoft/vcpkg#42315
1 parent 3cb94cd commit b347a00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ install(
616616
write_basic_package_version_file(
617617
${CMAKE_CURRENT_BINARY_DIR}/libxml2-config-version.cmake
618618
VERSION ${PROJECT_VERSION}
619-
COMPATIBILITY ExactVersion
619+
COMPATIBILITY SameMajorVersion
620620
)
621621

622622
install(

0 commit comments

Comments
 (0)