2018-03-21 16:22:29 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2018-03-21 16:22:29 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO actor-framework/actor-framework
|
2019-05-10 13:53:05 +08:00
|
|
|
REF 0.16.3
|
|
|
|
SHA512 f7e567264ea1686a431eacbf2a62f49c0f4467df073ec983ae622d9417c28124eb456eb40d6a70dbe062ad58333944924f04f7e3fee5a7b76917890d98bedce1
|
2018-03-21 16:22:29 +08:00
|
|
|
HEAD_REF master
|
2018-12-18 08:44:08 +08:00
|
|
|
PATCHES
|
|
|
|
openssl-version-override.patch
|
2018-03-21 16:22:29 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
|
|
|
-DCAF_BUILD_STATIC=ON
|
|
|
|
-DCAF_BUILD_STATIC_ONLY=ON
|
|
|
|
-DCAF_NO_TOOLS=ON
|
|
|
|
-DCAF_NO_EXAMPLES=ON
|
|
|
|
-DCAF_NO_BENCHMARKS=ON
|
|
|
|
-DCAF_NO_UNIT_TESTS=ON
|
|
|
|
-DCAF_NO_PROTOBUF_EXAMPLES=ON
|
|
|
|
-DCAF_NO_QT_EXAMPLES=ON
|
|
|
|
-DCAF_NO_OPENCL=ON
|
|
|
|
-DCAF_NO_OPENSSL=OFF
|
|
|
|
-DCAF_NO_CURL_EXAMPLES=ON
|
|
|
|
-DCAF_OPENSSL_VERSION_OVERRIDE=ON
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
|
|
|
|
file(INSTALL
|
|
|
|
${SOURCE_PATH}/LICENSE
|
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/caf RENAME copyright)
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|