bbidulock / icewm

A window manager designed for speed, usability, and consistency
Other
585 stars 98 forks source link

Allow using cmake -GNinja #603

Closed arichardson closed 3 years ago

arichardson commented 3 years ago

The CMake Ninja generator complains about duplicate targets otherwise since the ADD_CUSTOM_COMMAND(OUTPUT ${_tempPO} already creates a target with the name ${_lang}.po:

ninja: error: build.ninja:2446: multiple rules generate po/pl.po [-w dupbuild=err]

Rename the custom target to work around this.