2019-09-11 04:29:52 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2020-01-07 03:19:13 +08:00
|
|
|
REPO intel/parallelstl #20191218
|
|
|
|
REF 37761e15f62c03b7eb179db64ef930a69f33dfac
|
|
|
|
SHA512 dc8c875f692043b6f10ce7faf034e07536978537ea2a3d545be499cfa047f0c362c5109eb744a41dc0c92bd0fc56d98505183444bd376aeb257c9204480e6668
|
2019-09-11 04:29:52 +08:00
|
|
|
HEAD_REF master
|
2020-01-07 03:19:13 +08:00
|
|
|
PATCHES
|
|
|
|
fix-cmakelist.patch
|
2019-09-11 04:29:52 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DPARALLELSTL_USE_PARALLEL_POLICIES=ON
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
2020-01-07 03:19:13 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ParallelSTL)
|
|
|
|
|
2019-09-11 04:29:52 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
2020-01-07 03:19:13 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
2019-09-11 04:29:52 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2020-01-07 03:19:13 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|