mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 12:28:59 +08:00
a91bc0c2d4
* [caf] Update to 0.18.5 * Remove setting of BUILD_SHARED_LIBS already handled by vcpkg_cmake_configure. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
37 lines
1.2 KiB
CMake
37 lines
1.2 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO actor-framework/actor-framework
|
|
REF c2be26e7f9e3e84ef14730590fc4e7b25fb9d29a # 0.18.5
|
|
SHA512 e8d1e9417ea71c4f92f51f4f7dbb7bcc9d0468623d2202be9b4ed4411406a3b6f6fc903309b74bb130e7cf1c7a0ec349d8bc2ac8f216a28216d1c808c1bde039
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix_dependency.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
|
-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
|
|
-DCAF_ENABLE_UTILITY_TARGETS=OFF
|
|
)
|
|
|
|
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(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|