package/sdbus-cpp: fix host build

cmake options were renamed by
0074c79e7f
resulting in the following host build failure since bump to version
2.0.0 in commit 0f5bb364c6:

/home/buildroot/autobuild/run/instance-1/output-1/build/host-sdbus-cpp-2.0.0/src/Proxy.cpp: In member function 'virtual sdbus::PendingAsyncCall sdbus::internal::Proxy::callMethodAsync(const sdbus::MethodCall&, sdbus::async_reply_handler, uint64_t)':
/home/buildroot/autobuild/run/instance-1/output-1/build/host-sdbus-cpp-2.0.0/src/Proxy.cpp:125:91: sorry, unimplemented: non-trivial designated initializers not supported
                                                                       , .floating = false });
                                                                                           ^
/home/buildroot/autobuild/run/instance-1/output-1/build/host-sdbus-cpp-2.0.0/src/Proxy.cpp:133:60: error: class template argument deduction failed:
     auto asyncCallInfoWeakPtr = std::weak_ptr{asyncCallInfo};
                                                            ^

Fixes: 0f5bb364c6
 - http://autobuild.buildroot.org/results/66668261d05203575658a243e02e78cf77018d8c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2024-05-08 10:19:52 +02:00 committed by Thomas Petazzoni
parent fa94135455
commit faf371a476

View File

@ -14,10 +14,10 @@ SDBUS_CPP_LICENSE_FILES = COPYING COPYING-LGPL-Exception
# Host build for sdbus-c++-xml2cpp
HOST_SDBUS_CPP_DEPENDENCIES = host-pkgconf host-systemd
HOST_SDBUS_CPP_CONF_OPTS = \
-DBUILD_CODE_GEN=ON \
-DBUILD_DOC=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_LIBSYSTEMD=OFF
-DSDBUSCPP_BUILD_CODEGEN=ON \
-DSDBUSCPP_BUILD_DOCS=OFF \
-DSDBUSCPP_BUILD_TESTS=OFF \
-DSDBUSCPP_BUILD_LIBSYSTEMD=OFF
$(eval $(cmake-package))
$(eval $(host-cmake-package))