mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 06:39:06 +08:00
610176628f
* increment crowcpp version * fix version * fix hash * fix hash Co-authored-by: Ray Tang <ray.tang@xycapitalgroup.com>
22 lines
718 B
CMake
22 lines
718 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO CrowCpp/crow
|
|
REF edf12f699ec3bf6f751cf73cb97f32919e48ca6e # v1.0+5
|
|
SHA512 615a12d39198f2b3e48d795a65590050e8416a0c36b8b54fadea57e447393c4328f3c3ae04f9a7ce5a769efcf000ab2aa5057d6431569a6ec2ffa5f19055d743
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DCROW_BUILD_EXAMPLES=OFF
|
|
-DCROW_BUILD_TESTS=OFF
|
|
)
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Crow)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|