mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
a6cb7292c4
* [many ports]switch to vcpkg-cmake / vckg-cmake-config * version * Missing changes * version * typo * version * typo * version * fix typo * version * deprecate vcpkg_extract_source_archive_ex * version * fix arguments * version --------- Co-authored-by: jyu49 <yu_jack@apple.com>
25 lines
672 B
CMake
25 lines
672 B
CMake
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO vietjtnguyen/argagg
|
|
REF 0.4.6
|
|
SHA512 7d8cf04a7c679518f01120830637c68719dd67a765457789eb4afedbead7be9efadc6bcdf640999329aaaf8659a5e5d1896f66587068cc668a7c49703aca3070
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DARGAGG_BUILD_EXAMPLES=OFF
|
|
-DARGAGG_BUILD_TESTS=OFF
|
|
-DARGAGG_BUILD_DOCS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
# Handle copyright
|
|
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|