mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 20:48:15 +08:00
a193e8fb4e
Fixes #38764, update `7zip` to 24.06. No feature needs to be tested, the usage test passed on `x64-windows`(header files found): ``` 7zip provides CMake targets: # this is heuristically generated, and may not be correct find_package(7zip CONFIG REQUIRED) target_link_libraries(main PRIVATE 7zip::7zip) ```
24 lines
706 B
CMake
24 lines
706 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ip7z/7zip
|
|
REF "${VERSION}"
|
|
SHA512 9ce8acdbbb44045c5c9983db1093b6abc78439ee2b0ba57820a44a08d0787cb5ab34e25fd3ff33a93f274cc006684ce6013d4e98b47e7834318898e9d10d2259
|
|
HEAD_REF main
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/7zip-config.cmake.in" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/DOC/License.txt")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|