summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-12-15 00:12:57 +0000
committerPeter Powell <petpow@saberuk.com>2015-12-31 02:40:36 +0000
commitdd6688b9875bef4c3ce5e66fd19283ac931b72ea (patch)
tree8ef774f4e50e04a72994e1c737ca1dced14bb085 /language
parent63f865dcacf459f65b75a4269288b3090b14f956 (diff)
Remove repeated expressions from CMake end*() and else() calls.
Diffstat (limited to 'language')
-rw-r--r--language/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/language/CMakeLists.txt b/language/CMakeLists.txt
index ff5ae2b8f..a5135a273 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()