mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 23:18:59 +08:00
20 lines
548 B
CMake
20 lines
548 B
CMake
|
set(VCPKG_BUILD_TYPE release) # header-only
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO Dobiasd/FunctionalPlus
|
||
|
REF "v${VERSION}"
|
||
|
SHA512 7b3e451af977ef52a112ad59a4b1f4dc64b120348acb80b751a01bc56d986358b6237d461fe0cf91431b6bc49bc823f8b4ac0016ede9a9e85561cf278d00bb41
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
OPTIONS
|
||
|
-DFunctionalPlus_INSTALL_CMAKEDIR=share/functionalplus
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_install()
|
||
|
|
||
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|