mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 06:51:38 +08:00
20 lines
550 B
CMake
20 lines
550 B
CMake
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Dobiasd/FunctionalPlus
|
|
REF "v${VERSION}"
|
|
SHA512 61041dfc5af9c11ebed50016d258289f52c73717f57db9781b7dcc5c203959aff1a857e827bf426767e9683e1c99c10a7e33baf72ddcc554b7984e5b051cd167
|
|
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")
|