aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sokol/portfile.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/sokol/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/sokol/portfile.cmake')
-rw-r--r--vcpkg/ports/sokol/portfile.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/sokol/portfile.cmake b/vcpkg/ports/sokol/portfile.cmake
new file mode 100644
index 0000000..be80a3a
--- /dev/null
+++ b/vcpkg/ports/sokol/portfile.cmake
@@ -0,0 +1,17 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO floooh/sokol
+ REF d98c8b92c25070f13d0491f5fade1d9d2ca885ad
+ SHA512 bb49dc3da366e70c7b6b16ebd490f9b2c88c496b278f1b9651321b3aab0977db92707d3955c2cb2654d8032647429ac90aa585de36644380112d988eac877cd0
+ HEAD_REF master
+)
+
+file(GLOB SOKOL_INCLUDE_FILES "${SOURCE_PATH}/*.h")
+file(COPY ${SOKOL_INCLUDE_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+file(GLOB SOKOL_UTIL_INCLUDE_FILES "${SOURCE_PATH}/util/*.h")
+file(COPY ${SOKOL_UTIL_INCLUDE_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include/util")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")