aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/physfs/vcpkg-cmake-wrapper.cmake
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/physfs/vcpkg-cmake-wrapper.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/physfs/vcpkg-cmake-wrapper.cmake')
-rw-r--r--vcpkg/ports/physfs/vcpkg-cmake-wrapper.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcpkg/ports/physfs/vcpkg-cmake-wrapper.cmake b/vcpkg/ports/physfs/vcpkg-cmake-wrapper.cmake
new file mode 100644
index 0000000..0cc3981
--- /dev/null
+++ b/vcpkg/ports/physfs/vcpkg-cmake-wrapper.cmake
@@ -0,0 +1,6 @@
+find_library(PHYSFS_LIBRARY_RELEASE NAMES physfs physfs-static NAMES_PER_DIR PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib" NO_DEFAULT_PATH)
+find_library(PHYSFS_LIBRARY_DEBUG NAMES physfs physfs-static NAMES_PER_DIR PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib" NO_DEFAULT_PATH)
+include(SelectLibraryConfigurations)
+select_library_configurations(PHYSFS)
+unset(PHYSFS_FOUND)
+_find_package(${ARGS})