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

ddedmn fixed build

+ removed ifdef, which was hiding the fact that ddedmn wasn't properly built
+ fixed linking libraries
parent e6c3eda3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ add_executable(ddedmn
target_link_libraries(ddedmn
  PRIVATE
    Szarp2
	${XMLRPCEPI_LIBRARIES}
)

add_executable(dpafdmn
+0 −13
Original line number Diff line number Diff line
@@ -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