diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sqlite-modern-cpp/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/sqlite-modern-cpp/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/sqlite-modern-cpp/portfile.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/sqlite-modern-cpp/portfile.cmake b/vcpkg/ports/sqlite-modern-cpp/portfile.cmake new file mode 100644 index 0000000..d51a1c5 --- /dev/null +++ b/vcpkg/ports/sqlite-modern-cpp/portfile.cmake @@ -0,0 +1,13 @@ +# header only
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO SqliteModernCpp/sqlite_modern_cpp
+ REF 6e3009973025e0016d5573529067714201338c80
+ SHA512 a007c739e00b9bd51d19f3bc484709f9fc4637f0262b636b51ee95cbc7f3f7fe6551dcbf0990a0430ac12f276bb72d1e0a3b71f06ac6e6d19fb46d51066a4295
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/hdr/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp)
+file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp RENAME copyright)
|