Revert asm_offset CMake code to work with 3.10
authorCharles Giessen <charles@lunarg.com>
Wed, 28 Dec 2022 01:40:34 +0000 (18:40 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 28 Dec 2022 16:20:41 +0000 (09:20 -0700)
commit431f1af98a7ccfc03e98979629b55f50e18d6a10
tree40dc8306e8536ea09e8ed7c8600d1cd09340784c
parent7ed703eaa4df34111ac4006db9e826e55633a20f
Revert asm_offset CMake code to work with 3.10

The revertion of gen_defines.asm generation during cross compilation changed the
form of add_custom_command used, which inadvertently relied on CMake 3.16 support.

From the CMake Docs:
DEPENDS:
...
A target-level dependency is added if any dependency is a byproduct of a target or
any of its build events in the same directory to ensure the byproducts will be
available before this target is built.
loader/CMakeLists.txt