Skip to content

Commit b347a00

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)