aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/soil2/soil2Config.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/soil2/soil2Config.cmake.in
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/soil2/soil2Config.cmake.in')
-rw-r--r--vcpkg/ports/soil2/soil2Config.cmake.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/soil2/soil2Config.cmake.in b/vcpkg/ports/soil2/soil2Config.cmake.in
new file mode 100644
index 0000000..4d9d8b4
--- /dev/null
+++ b/vcpkg/ports/soil2/soil2Config.cmake.in
@@ -0,0 +1,13 @@
+# - Config file for the soil2 package
+# It defines the following variables
+# SOIL2_INCLUDE_DIRS - include directories for SOIL2
+# SOIL2_LIBRARIES - libraries to link against
+
+# Load targets
+get_filename_component(SOIL2_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
+include("${SOIL2_CMAKE_DIR}/soil2Targets.cmake")
+
+# Set properties
+get_target_property(SOIL2_INCLUDE_DIRS soil2 INTERFACE_INCLUDE_DIRECTORIES)
+set(SOIL2_LIBRARIES soil2)
+mark_as_advanced(SOIL2_INCLUDE_DIRS SOIL2_LIBRARIES)