vcpkg/ports/ezc3d/portfile.cmake
MonicaLiu 0f4d1f1f3e
[ezc3d] Update to 1.5.11 (#41882)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-10-31 22:37:03 -07:00

22 lines
600 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pyomeca/ezc3d
REF "Release_${VERSION}"
SHA512 343b4c6a03ff6cdf01e4443929a05eb15c14ed50d77f3a4e7783ace118f628e16873c8cd41ac58ecc2f29bf1ee6dd58851d45e5d64e2afc0d283c8c0a4eca576
HEAD_REF dev
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLE=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/ezc3d")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")