changeset 2393:807ddffc0eeb

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Aug 2017 13:27:05 +0200
parents a88c3ea0c96d
children 75c779ca948c 7f9a78f7b5a7
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Aug 30 13:11:37 2017 +0200
+++ b/CMakeLists.txt	Wed Aug 30 13:27:05 2017 +0200
@@ -293,6 +293,9 @@
   ${ORTHANC_SERVER_SOURCES}
   )
 
+# Ensure autogenerated code is built before building ServerLibrary
+add_dependencies(ServerLibrary CoreLibrary)
+
 add_executable(Orthanc
   OrthancServer/main.cpp
   ${ORTHANC_RESOURCES}