mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 14:27:51 +08:00
9e303cf56e
* Add new port "wg21-linear-algebra" Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> * Replace deprecated functions Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
32 lines
787 B
CMake
32 lines
787 B
CMake
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO BobSteagall/wg21
|
|
REF "v${VERSION}"
|
|
SHA512 c249344d035d09760a9e5ea059ed6db5a1cb42b918735672bd7aa6dbda08f947855582f76ad61d33f59a847d8befe5caed57d25da2bcfc9fa8e6cef50a4c24e2
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DLA_INSTALL=ON
|
|
-DLA_BUILD_PACKAGE=OFF
|
|
-DLA_ENABLE_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME wg21_linear_algebra
|
|
CONFIG_PATH lib/cmake/wg21_linear_algebra
|
|
)
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
|
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_PACKAGES_DIR}/cmake"
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
|
)
|