2022-02-04 17:17:03 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO asmaloney/libE57Format
|
2023-02-01 11:12:25 +08:00
|
|
|
REF v2.3.0
|
|
|
|
SHA512 44feaf71d09d6765b322e2055efea09d2a99e706aa00dc4fd9281074fc05d06cce932400f5f4b91b20ed1cc070f117b7d39b95c54d33b31bc1e93532d698c175
|
2022-02-04 17:17:03 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
2023-02-01 11:12:25 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME E57Format CONFIG_PATH "lib/cmake/E57Format")
|
2022-02-04 17:17:03 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/libe57format RENAME copyright)
|
2023-02-01 11:12:25 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|