utils: Generate layout based on leaf model which will be used.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
diff --git a/v2x_tests.cmake b/v2x_tests.cmake
index afdf20b..39928c0 100644
--- a/v2x_tests.cmake
+++ b/v2x_tests.cmake
@@ -157,6 +157,7 @@
   v2x_test_generic(NAME ${NAME} TOP_MODULE ${MODULE} TYPE pb_type)
   v2x_test_generic(NAME ${NAME} TOP_MODULE ${TOP_MODULE} TYPE model)
   vpr_test_pbtype(NAME ${NAME})
+  add_dependencies(all_v2x_tests test_${NAME})
 
   add_custom_target(${NAME}_diff ALL DEPENDS ${NAME}_pb_type_diff ${NAME}_model_diff)
 endfunction(V2X_TEST_BOTH)