aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cimg/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/cimg/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/cimg/portfile.cmake')
-rw-r--r--vcpkg/ports/cimg/portfile.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/cimg/portfile.cmake b/vcpkg/ports/cimg/portfile.cmake
new file mode 100644
index 0000000..5843c11
--- /dev/null
+++ b/vcpkg/ports/cimg/portfile.cmake
@@ -0,0 +1,22 @@
+set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
+ REPO dtschump/CImg
+ REF "v.${VERSION}"
+ SHA512 7b5c31a5a88c06fb2ec16332851e9a828ff1dcec6e1d3a34f1bfe0424c2df47079328c8f06b84a363a5eaf7affb3edc40a4bad0ab93d378598851e91e8160f1d
+ HEAD_REF master
+)
+
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_install_copyright(
+ FILE_LIST
+ "${SOURCE_PATH}/Licence_CeCILL-C_V1-en.txt"
+ "${SOURCE_PATH}/Licence_CeCILL_V2-en.txt"
+)