2018-12-18 08:28:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO owt5008137/libcopp
|
2020-10-14 04:17:32 +08:00
|
|
|
REF c61ac3bd5f9d2a74e58a800caa7230bbe8170d8b # 1.3.2
|
|
|
|
SHA512 e1a3e6bbff2dbe1530447300a0a65a2f142cca32e79cb43b0d7b0b4bc5a2444fe49bfdfd7017e8de5ef6f31f32d88a9d94fddb07608ed4982be929155d47183b
|
2018-12-18 08:28:13 +08:00
|
|
|
HEAD_REF v2
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-04-11 23:25:55 +08:00
|
|
|
DISABLE_PARALLEL_CONFIGURE
|
2018-12-18 08:28:13 +08:00
|
|
|
)
|
2020-07-08 04:47:32 +08:00
|
|
|
|
2018-12-18 08:28:13 +08:00
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
2020-07-08 04:47:32 +08:00
|
|
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
|
|
|
file(INSTALL ${SOURCE_PATH}/BOOST_LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
2018-12-18 08:28:13 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
|
|
|
|
|
2020-07-08 04:47:32 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|