mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 09:19:01 +08:00
69cadc5949
* [ezc3d] update to 1.5.7 * [ezc3d] update to 1.5.7
24 lines
716 B
CMake
24 lines
716 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO pyomeca/ezc3d
|
|
REF "Release_${VERSION}"
|
|
SHA512 8e3a03c2d588ac1f8ed3d0988b90f7560f2c0b36c05f5bf9b6f029a5f4c6e4ab49d7153ef7a9bbbdb018c719a92d1da08a6af259ba95972bf8fd60766d4a480e
|
|
HEAD_REF dev
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
"-Dezc3d_BIN_FOLDER=bin"
|
|
"-Dezc3d_LIB_FOLDER=lib"
|
|
-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")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|