summaryrefslogtreecommitdiffstats
path: root/cmake/Functions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Functions.cmake')
-rw-r--r--cmake/Functions.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index b90447ed3..e79811346 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -1276,6 +1276,9 @@ function(add_gn_command)
${arg_BUILDDIR}/${targetConfigFileName}
)
add_dependencies(run_${arg_MODULE}_GnDone runGn_${arg_GN_TARGET})
+ if(TARGET thirdparty_sync_headers)
+ add_dependencies(runGn_${arg_GN_TARGET} thirdparty_sync_headers)
+ endif()
create_gn_target_config(${arg_GN_TARGET} ${arg_BUILDDIR}/${targetConfigFileName})
endfunction()