瀏覽代碼

Fix dependency of namespace0 to avoid executing the generator simultaneously

Stefan Profanter 6 年之前
父節點
當前提交
b585a4c5cf
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -527,6 +527,7 @@ endif()
 
 if(UA_ENABLE_GENERATE_NAMESPACE0)
     add_dependencies(open62541-amalgamation-source open62541-generator-namespace)
+    add_dependencies(open62541-amalgamation-header open62541-generator-namespace)
     if(NOT UA_ENABLE_AMALGAMATION)
         add_dependencies(open62541-object open62541-generator-namespace)
     endif()