2024-01-25 01:57:01 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ip7z/7zip
|
|
|
|
REF "${VERSION}"
|
2024-08-15 06:56:52 +08:00
|
|
|
SHA512 5aa2a32a1d2ea81b0ee487e07efc444fda69967a67fb3a7d6e8fd06d32ebf9be76948ea23d258feade89877be698d09e1ef2ba79bbeda83752fdbb50a007af6c
|
2024-01-25 01:57:01 +08:00
|
|
|
HEAD_REF main
|
2019-07-11 04:56:07 +08:00
|
|
|
)
|
|
|
|
|
2022-03-16 06:24:05 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/7zip-config.cmake.in" DESTINATION "${SOURCE_PATH}")
|
2019-07-11 04:56:07 +08:00
|
|
|
|
2022-03-05 05:43:33 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-07-11 04:56:07 +08:00
|
|
|
)
|
|
|
|
|
2022-03-05 05:43:33 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-07-11 04:56:07 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-03-05 05:43:33 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
|
2024-01-25 01:57:01 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/DOC/License.txt")
|
2022-11-23 04:22:57 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|