mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 13:57:49 +08:00
36 lines
1.1 KiB
CMake
36 lines
1.1 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO actor-framework/actor-framework
|
|
REF "${VERSION}"
|
|
SHA512 0849a0b17a2c011142dd56ff88b01d764dc57b40de5d8467bcf1aa2ddd7540415228dc05f8652b9534e18fb8c2e28465bf881fe1e1bf5c7f9919cfb3edd573d3
|
|
HEAD_REF main
|
|
PATCHES
|
|
fix_dependency.patch
|
|
fix_cxx17.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-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_IO_MODULE=ON
|
|
-DCAF_ENABLE_EXCEPTIONS=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME CAF CONFIG_PATH lib/cmake/CAF)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/caf/internal")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|