mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 15:19:02 +08:00
e018f75cf9
* [units] Fix cmake targets * version
20 lines
503 B
CMake
20 lines
503 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO nholthaus/units
|
|
REF v2.3.3
|
|
SHA512 40d803e6bb17f4bb46a0136c7753ae25a0d3ce352dbff3843b0c231e94eb8bade1de65d5b988589607fb12b11e4bfa762708a68839f2d7dccb45440672d09031
|
|
)
|
|
|
|
set(VCPKG_BUILD_TYPE "release")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/units/cmake)
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|