aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/soil/soilConfigVersion.cmake.in
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/soil/soilConfigVersion.cmake.in
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/soil/soilConfigVersion.cmake.in')
-rw-r--r--vcpkg/ports/soil/soilConfigVersion.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/soil/soilConfigVersion.cmake.in b/vcpkg/ports/soil/soilConfigVersion.cmake.in
new file mode 100644
index 0000000..1e3e049
--- /dev/null
+++ b/vcpkg/ports/soil/soilConfigVersion.cmake.in
@@ -0,0 +1,11 @@
+set(PACKAGE_VERSION "@SOIL_VERSION@")
+
+# Check whether the requested PACKAGE_FIND_VERSION is compatible
+if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+else()
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
+ if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
+ set(PACKAGE_VERSION_EXACT TRUE)
+ endif()
+endif()