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
|
2020-09-01 07:17:53 +08:00
|
|
|
REF f7d4fc7ac679e18ba385f64434f8015c3cea9cb5 # 0.17.6
|
|
|
|
SHA512 8b4719c26dfad68eed6f2528263702e42f9865bb7a9f2d40909dc6c3fc20bb7259fe44a5f89390ba714c7f9359db2d171ff44685641962c24a70f4e2aa3f3f65
|
2018-03-21 16:22:29 +08:00
|
|
|
HEAD_REF master
|
2021-03-27 03:55:34 +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
|
2021-03-27 03:55:34 +08:00
|
|
|
-DCAF_ENABLE_UTILITY_TARGETS=OFF
|
2018-03-21 16:22:29 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
|
|
|
|
file(INSTALL
|
|
|
|
${SOURCE_PATH}/LICENSE
|
2020-11-10 06:24:18 +08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
|
|
|
|
file(COPY ${SOURCE_PATH}/cmake/FindCAF.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
|
|
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
|
|
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
2018-03-21 16:22:29 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|