From c69788662069bcb698fea6ecf69eb58fa08ecbc1 Mon Sep 17 00:00:00 2001 From: kakwa Date: Sun, 4 Dec 2016 15:08:46 +0100 Subject: [PATCH] fixing missing dependency on compilation order add a dependency to compile civetweb before uts-server if civetweb is bundled with uts-server. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b68fd3..48cb978 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,3 +75,8 @@ target_link_libraries(uts-server INSTALL(TARGETS uts-server RUNTIME DESTINATION bin ) + + +if(BUNDLE_CIVETWEB) + add_dependencies(uts-server civetweb) +endif(BUNDLE_CIVETWEB)