Commit 9a3c543f authored by Aleksy Barcz's avatar Aleksy Barcz

ddedmn fixed build

+ removed ifdef, which was hiding the fact that ddedmn wasn't properly built
+ fixed linking libraries
parent e6c3eda3
......@@ -36,6 +36,7 @@ add_executable(ddedmn
target_link_libraries(ddedmn
PRIVATE
Szarp2
${XMLRPCEPI_LIBRARIES}
)
add_executable(dpafdmn
......
......@@ -84,8 +84,6 @@
#include "config.h"
#ifdef HAVE_XMLRPC_EPI_H
#include <string>
#include <vector>
#include <algorithm>
......@@ -548,14 +546,3 @@ int main(int argc, char *argv[]) {
dded.Run();
}
#else
#include <iostream>
int main(int argc, char *argv[]) {
std::cerr << "SZARP need to be compiled with xmlrpc-epi library for this program to work" << std::endl;
return 1;
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment