aboutsummaryrefslogtreecommitdiff
path: root/ports/soil/SOILConfigVersion.cmake.in
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-05-25 17:18:57 -0700
committerGitHub <noreply@github.com>2018-05-25 17:18:57 -0700
commitc7903141b3cb31e94de212decd277743df17106c (patch)
tree734e521492bae2d4d16f4bdd1da4b2c9399d0601 /ports/soil/SOILConfigVersion.cmake.in
parent0f8ccc9e7e260d7e4976ca73c610637112794bdf (diff)
parent8396510395d07ba43dd530b0cdbbdbbc8dc8593e (diff)
downloadvcpkg-c7903141b3cb31e94de212decd277743df17106c.tar.gz
vcpkg-c7903141b3cb31e94de212decd277743df17106c.zip
Merge pull request #3582 from vtavernier/port/soil
[soil] Added port for SOIL
Diffstat (limited to 'ports/soil/SOILConfigVersion.cmake.in')
-rw-r--r--ports/soil/SOILConfigVersion.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/soil/SOILConfigVersion.cmake.in b/ports/soil/SOILConfigVersion.cmake.in
new file mode 100644
index 000000000..1e3e04965
--- /dev/null
+++ b/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()