2020-08-08 06:38:18 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2022-01-26 02:31:15 +08:00
|
|
|
REPO VcDevel/Vc
|
2023-10-07 01:38:28 +08:00
|
|
|
REF 1.4.4
|
|
|
|
SHA512 b8aa0a45637dd1e0cc23f074d023b677aab570dd4a78cff94e4c2d832afb841c1b421077ae9c848a40aa4beb50ed2e31fdf075738496856ff8fe3ea1d0acba07
|
2021-03-17 03:13:07 +08:00
|
|
|
HEAD_REF 1.4
|
2022-06-01 04:47:45 +08:00
|
|
|
PATCHES
|
|
|
|
correct_cmake_config_path.patch
|
2020-08-08 06:38:18 +08:00
|
|
|
)
|
|
|
|
|
2022-06-01 04:47:45 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
-DBUILD_EXAMPLES=OFF
|
2020-08-08 06:38:18 +08:00
|
|
|
)
|
2022-06-01 04:47:45 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/Vc/")
|
2020-08-08 06:38:18 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-06-01 04:47:45 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2020-08-08 06:38:18 +08:00
|
|
|
|
2022-06-01 04:47:45 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|