mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 20:27:49 +08:00
bce1415724
* Added libe57format port * Formatted the manifest file * vcpkg x-add-version --all * From vcpkg_configure_cmake to vcpkg_cmake_configure * Updated to vcpkg_cmake_config_fixup * Fix version database and format vcpkg.json. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
18 lines
651 B
CMake
18 lines
651 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO asmaloney/libE57Format
|
|
REF v2.2.0
|
|
SHA512 7b788efce2efdbfba83d4e3ab5c4884b3d85b5e44c510954f9200db26fb97c92f4e33d04209c0647fc39c3af081fc09d1ee6a79857b1980a0e1e43586f78bd0c
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/E57Format")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/libe57format RENAME copyright)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") |