2023-11-29 17:15:20 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
|
2018-01-04 11:55:18 +08:00
|
|
|
vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
|
2021-09-15 03:01:57 +08:00
|
|
|
REPO dtschump/CImg
|
2023-11-29 17:15:20 +08:00
|
|
|
REF "v.${VERSION}"
|
2024-06-29 08:27:17 +08:00
|
|
|
SHA512 a960354bc245e933a0b6e175bfe1f9d03abff300a9d9e74e67203e204302349a9ec9dc500e2023776c614180d07a408bdfe9f044185c0707b25714f6ac9d8b85
|
2018-01-04 11:55:18 +08:00
|
|
|
HEAD_REF master
|
2021-09-15 03:01:57 +08:00
|
|
|
)
|
2018-01-04 11:55:18 +08:00
|
|
|
|
2021-09-15 03:01:57 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2018-01-04 11:55:18 +08:00
|
|
|
|
2021-09-15 03:01:57 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-01-04 11:55:18 +08:00
|
|
|
)
|
|
|
|
|
2021-09-15 03:01:57 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-01-04 11:55:18 +08:00
|
|
|
|
2023-11-29 17:15:20 +08:00
|
|
|
vcpkg_install_copyright(
|
|
|
|
FILE_LIST
|
|
|
|
"${SOURCE_PATH}/Licence_CeCILL-C_V1-en.txt"
|
|
|
|
"${SOURCE_PATH}/Licence_CeCILL_V2-en.txt"
|
|
|
|
)
|