2019-03-08 07:28:49 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO FreeOpcUa/freeopcua
|
|
|
|
REF 2f2c886eb2da46b9dc8944c8f79ac31a9f116a81
|
|
|
|
SHA512 f19c1489eb116224ac3192e646c08cf3967c9a07064a09c4cbdef89d93e98c7541bb3edd030be22f6daf3f831ff92a324bc3734a8fe34cdd9d5a5ff7cb7f2f19
|
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
cmakelists_fixes.patch
|
|
|
|
improve_compatibility_with_recent_boost.patch
|
|
|
|
use_another_implementation_of_has_begin_end.patch
|
|
|
|
uri_facade_win.patch
|
|
|
|
serverObj.patch
|
|
|
|
include_asio_first.patch
|
2019-05-17 09:33:32 +08:00
|
|
|
boost-1.70.patch
|
2020-05-14 01:26:05 +08:00
|
|
|
fix-std-headers.patch
|
2019-03-08 07:28:49 +08:00
|
|
|
)
|
|
|
|
|
2023-04-14 00:13:15 +08:00
|
|
|
vcpkg_cmake_configure(
|
2023-04-22 05:48:12 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-03-08 07:28:49 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_PYTHON=OFF
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
-DSSL_SUPPORT_MBEDTLS=OFF
|
2019-03-22 14:17:13 +08:00
|
|
|
-DCMAKE_DEBUG_POSTFIX=d
|
2019-03-08 07:28:49 +08:00
|
|
|
)
|
|
|
|
|
2023-04-14 00:13:15 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup()
|
2023-04-22 05:48:12 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2019-03-08 07:28:49 +08:00
|
|
|
|
|
|
|
#Handle copyright
|
2023-04-22 05:48:12 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/freeopcua" RENAME copyright)
|
2021-10-28 06:19:28 +08:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|