Closed arichardson closed 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:
ADD_CUSTOM_COMMAND(OUTPUT ${_tempPO}
ninja: error: build.ninja:2446: multiple rules generate po/pl.po [-w dupbuild=err]
Rename the custom target to work around this.
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.