mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 14:59:03 +08:00
28 lines
827 B
CMake
28 lines
827 B
CMake
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO arximboldi/lager
|
||
|
REF 5924508df1e08752274404818c460c80f0666bb8
|
||
|
SHA512 ee186b82dd1d729454c61207b48fb80ac8a861511ff501fab499aff5d3ba123ca669f89bdbbd37f120af6dc11a651ba6c163250b5ca94e6290657a35870618d7
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||
|
FEATURES
|
||
|
docs lager_BUILD_DOCS
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
OPTIONS
|
||
|
-Dlager_BUILD_EXAMPLES=OFF
|
||
|
-Dlager_BUILD_TESTS=OFF
|
||
|
${FEATURE_OPTIONS}
|
||
|
)
|
||
|
|
||
|
|
||
|
vcpkg_cmake_install()
|
||
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Lager)
|
||
|
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|