mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 17:19:03 +08:00
bf1a252f85
* feat(libjuice): bumped version to 1.0.3 * feat(libjuice): bumped version to 1.0.3 * feat(libjuice): bumped version to 1.0.3 * feat(libjuice): bumped version to 1.0.3 * feat(libjuice): bumped version to 1.0.3
30 lines
890 B
CMake
30 lines
890 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO paullouisageneau/libjuice
|
|
REF 89bc87dd526849dc786ad6e986ad70efc4e37382 #v1.0.3
|
|
SHA512 5ea1e327d53d40482f27e1709a1669472a8b213208431396ea2c89829db82a989e17af03e655138dd5f2c4610d6ae862fbab66525cb7a61d13d6486fb7fd87ab
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix-for-vcpkg.patch
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
nettle USE_NETTLE
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DNO_TESTS=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME LibJuice CONFIG_PATH lib/cmake/LibJuice)
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |