From 11c19b3afd4aa6a215d95b34de23213e113226d9 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Sun, 21 Aug 2022 22:49:29 +0300 Subject: [PATCH 1/1] More XML-RPC related stuff. --- projects/stargazer/plugins/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/stargazer/plugins/CMakeLists.txt b/projects/stargazer/plugins/CMakeLists.txt index a229cc50..2b5c0467 100644 --- a/projects/stargazer/plugins/CMakeLists.txt +++ b/projects/stargazer/plugins/CMakeLists.txt @@ -138,7 +138,7 @@ if ( BUILD_MOD_SGCONFIG ) endif ( BUILD_MOD_SGCONFIG ) if ( BUILD_MOD_RPCCONFIG ) - find_package ( XMLRPC REQUIRED c++ abyss-server ) + find_package ( XMLRPC 1.54 REQUIRED c++ abyss-server ) include_directories ( ${XMLRPC_INCLUDE_DIRS} ) add_library ( mod_conf_rpc MODULE configuration/rpcconfig/rpcconfig.cpp configuration/rpcconfig/user_helper.cpp @@ -149,7 +149,6 @@ if ( BUILD_MOD_RPCCONFIG ) configuration/rpcconfig/admins_methods.cpp configuration/rpcconfig/messages_methods.cpp ) target_link_libraries ( mod_conf_rpc scriptexecuter logger common ${XMLRPC_LIBRARIES} ) - target_compile_definitions ( mod_conf_rpc PUBLIC auto_ptr=unique_ptr ) set_target_properties ( mod_conf_rpc PROPERTIES PREFIX "" ) if ( CLANG_TIDY_EXE ) -- 2.44.2