From 44b39722bdbef1b316704dedc9acd4a069afd953 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Tue, 12 Sep 2023 16:47:57 +0200 Subject: [PATCH] fixed extern --- extern/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 099574b..c6ba9c1 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -8,6 +8,14 @@ get_property(_USER_CMAKE_CXX_FLAGS CACHE CMAKE_CXX_FLAGS PROPERTY VALUE) set(CMAKE_C_FLAGS "-w ${_USER_CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "-w ${_USER_CMAKE_CXX_FLAGS}") +# XmlRpc++ +if(YARP_BUILD_xmlrpcpp) + add_subdirectory(xmlrpcpp) + set(xmlrpcpp_INCLUDE_DIRS ${xmlrpcpp_INCLUDE_DIRS} PARENT_SCOPE) + set(xmlrpcpp_LIBRARIES ${xmlrpcpp_LIBRARIES} PARENT_SCOPE) + set(xmlrpcpp_DEFINITIONS ${xmlrpcpp_DEFINITIONS} PARENT_SCOPE) +endif() + # Apache Thrift set(THRIFT_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/thrift/thrift" PARENT_SCOPE)