layers: fix parallel building
authorChia-I Wu <olv@lunarg.com>
Fri, 19 Dec 2014 02:59:01 +0000 (10:59 +0800)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 5 Feb 2015 00:57:22 +0000 (17:57 -0700)
commitd3fe36960552a8c6d80b7263f83eb6b5871f31fc
tree034ed08f5c967f623baaa74258ad5143c4055f0f
parent099d9e41739f98ec5e505b07fb04895e8131656b
layers: fix parallel building

Listing outputs of a add_custom_command() in multiple independent targets
creates races.  The file generation should be driven by a custom target which
all independent targets depend on.
layers/CMakeLists.txt