fixing missing dependency on compilation order

add a dependency to compile civetweb before uts-server if civetweb
is bundled with uts-server.
This commit is contained in:
kakwa 2016-12-04 15:08:46 +01:00
parent ed8244a16c
commit f98e0b6c9d
1 changed files with 5 additions and 0 deletions

View File

@ -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)