layers: Fix build dependency

The no-dependency layer's still need to have a dependency in order
for the commands to execute in the proper order.  So, just tied them
to the utils object.

Change-Id: Ic279dcf86b8f0e551b194a6b5688ea646b00cc5f
diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
index 1253ae6..d26d399 100644
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -73,9 +73,17 @@
         endforeach(config_file)
     endif()
 endif()
+# If a layer has a direcgt dependency on a project with the same name, use it.
 foreach (config_file ${LAYER_JSON_FILES_WITH_DEPENDENCIES})
     add_dependencies(${config_file}-json ${config_file})
 endforeach(config_file)
+# If a layer has no direct dependencies, give it one so it copies in the proper order
+foreach (config_file ${LAYER_JSON_FILES_NO_DEPENDENCIES})
+    add_dependencies(${config_file}-json VkLayer_utils)
+endforeach(config_file)
+
+
+
 
 # Add targets for JSON file install on Linux.
 # Need to remove the "./" from the library path before installing to /etc.