summaryrefslogtreecommitdiff
path: root/language/CMakeLists.txt
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-04-27 17:49:06 +0100
committerSadie Powell <sadie@witchery.services>2021-04-27 17:49:21 +0100
commite2aeab970bcbd94ea3531b345d2ec4df111f0d60 (patch)
treefab4021c9e78bf9a63045d7d0e5cd9ea9acb60ab /language/CMakeLists.txt
parentef4fd869ae634b546a882b1741303705fa216fc7 (diff)
Remove the repeated conditions in cmake endif/else statements.
Diffstat (limited to 'language/CMakeLists.txt')
-rw-r--r--language/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/language/CMakeLists.txt b/language/CMakeLists.txt
index 577e132a3..811aaf9e0 100644
--- a/language/CMakeLists.txt
+++ b/language/CMakeLists.txt
@@ -26,12 +26,12 @@ if(GETTEXT_FOUND)
# Add to cpack ignored files if not on Windows.
if(NOT WIN32)
add_to_cpack_ignored_files("${LANG_MO}")
- endif(NOT WIN32)
+ endif()
# Install the new language file
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG_MO} DESTINATION ${LOCALE_DIR}/${LANG_LANG}/LC_MESSAGES RENAME ${LANG_DOMAIN}.mo PERMISSIONS ${PERMS})
- endforeach(LANG_PO)
+ endforeach()
# Generate languages, depends on the mo files
add_custom_target(language DEPENDS ${LANG_SRCS_MO})
-endif(GETTEXT_FOUND)
+endif()