mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 10:59:00 +08:00
f0870ce368
* Update frugally-deep to version 0.15.19-p0 * Apply x-add-version * Fix the deprecated function in portfile.cmake * Add license MIT in vcpkg.json * Add newline at end of file * Re-add vcpkg_from_github * Update portfile.cmake * Update frugally-deep.json Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
28 lines
800 B
CMake
28 lines
800 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Dobiasd/frugally-deep
|
|
REF v0.15.19-p0
|
|
SHA512 3721ab90fcae975497346c459ad5c75b7a39fc43caddd0251119888834e6ebcfa75048a4f95104c874f5397e0320e97c345f1ae8d6a730c4dc8e5429f8f46a49
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
double FDEEP_USE_DOUBLE
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DFDEEP_BUILD_UNITTEST=OFF
|
|
-DFDEEP_USE_TOOLCHAIN=ON
|
|
${FEATURE_OPTIONS}
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/frugally-deep)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|