mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 17:09:01 +08:00
b3a0f916ac
* [curl] Update to 8.0.1 * Trace [skip actions] * Revert Trace
21 lines
627 B
Diff
21 lines
627 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index ed60f07bc..270a562d9 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1609,6 +1609,15 @@ write_basic_package_version_file(
|
|
VERSION ${CURL_VERSION}
|
|
COMPATIBILITY SameMajorVersion
|
|
)
|
|
+file(READ "${version_config}" generated_version_config)
|
|
+file(WRITE "${version_config}" "
|
|
+if(NOT PACKAGE_FIND_VERSION_RANGE AND PACKAGE_FIND_VERSION_MAJOR STREQUAL \"7\")
|
|
+ # Version 8 satisfies version 7... requirements
|
|
+ set(PACKAGE_FIND_VERSION_MAJOR 8)
|
|
+ set(PACKAGE_FIND_VERSION_COUNT 1)
|
|
+endif()
|
|
+${generated_version_config}"
|
|
+)
|
|
|
|
# Use:
|
|
# * TARGETS_EXPORT_NAME
|