icculus / mojoshader

Use Direct3D shaders with other 3D rendering APIs.
https://icculus.org/mojoshader/
zlib License
122 stars 36 forks source link

cmake: obey CMP0026 and do not read LOCATION property #51

Closed yangfl closed 2 years ago

yangfl commented 2 years ago

ADD_CUSTOM_COMMAND knows about target names. You don't need to fetch the location yourself. Otherwise, CMake version 3.21.0 will warn this.

flibitijibibo commented 2 years ago

Part of #47