Remove redundant uses of cmake -E env

- In GncAddTest, set_tests_properties() is already setting the env
- In the other uses, there is no change to the environment
This commit is contained in:
Richard Cohen
2023-02-26 16:26:48 +00:00
parent aa296bd718
commit 3a7464a312
9 changed files with 14 additions and 21 deletions

View File

@@ -19,8 +19,7 @@ foreach (lingua ${ALL_LINGUAS})
add_custom_command(
OUTPUT ${_MO_FILE}
COMMAND ${CMAKE_COMMAND} -E env
${GETTEXT_MSGFMT_EXECUTABLE}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE}
-o ${_MO_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${lingua}.po
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${lingua}.po
)