2018-03-21 16:22:29 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO actor-framework/actor-framework
|
2022-04-26 07:36:25 +08:00
|
|
|
REF bfa0f83dd5c9151c263c304300c79161ae8cb595 # 0.18.6
|
|
|
|
SHA512 58ebd40623edc0245dd38b3a2bbbda7af7d9b030155746949dfe7c4c30bdc07ee2ee84d195dc2e914d69f58c6c46bc9ad496bbc34e7cafe0530200458a4c5a76
|
2018-03-21 16:22:29 +08:00
|
|
|
HEAD_REF master
|
2021-03-27 03:55:34 +08:00
|
|
|
PATCHES
|
2021-12-17 15:03:43 +08:00
|
|
|
fix_dependency.patch
|
2022-04-30 02:40:30 +08:00
|
|
|
fix_cxx17.patch
|
2018-03-21 16:22:29 +08:00
|
|
|
)
|
|
|
|
|
2021-12-17 15:03:43 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-03-21 16:22:29 +08:00
|
|
|
OPTIONS
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
2021-12-17 15:03:43 +08:00
|
|
|
-DCAF_ENABLE_CURL_EXAMPLES=OFF
|
|
|
|
-DCAF_ENABLE_PROTOBUF_EXAMPLES=OFF
|
|
|
|
-DCAF_ENABLE_QT6_EXAMPLES=OFF
|
|
|
|
-DCAF_ENABLE_RUNTIME_CHECKS=OFF
|
|
|
|
-DCAF_ENABLE_ACTOR_PROFILER=OFF
|
|
|
|
-DCAF_ENABLE_EXAMPLES=OFF
|
|
|
|
-DCAF_ENABLE_TESTING=OFF
|
|
|
|
-DCAF_ENABLE_TOOLS=OFF
|
|
|
|
-DCAF_ENABLE_IO_MODULE=ON
|
|
|
|
-DCAF_ENABLE_EXCEPTIONS=ON
|
2021-03-27 03:55:34 +08:00
|
|
|
-DCAF_ENABLE_UTILITY_TARGETS=OFF
|
2018-03-21 16:22:29 +08:00
|
|
|
)
|
|
|
|
|
2021-12-17 15:03:43 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-03-21 16:22:29 +08:00
|
|
|
|
2021-12-17 15:03:43 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME CAF CONFIG_PATH lib/cmake/CAF)
|
2018-03-21 16:22:29 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2021-12-17 15:03:43 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|