Index: CMakeLists.txt |
diff --git a/CMakeLists.txt b/CMakeLists.txt |
index 6f214324951a4c37869c2f1f427b9d1cfcde1c0d..91a640d15b32fda738991f028cfe2d1a52b49375 100644 |
--- a/CMakeLists.txt |
+++ b/CMakeLists.txt |
@@ -59,7 +59,9 @@ ADD_CUSTOM_TARGET(tag |
#################################################################### |
# Includes |
#################################################################### |
-INCLUDE(Gettext) |
+IF(NOT DEFINED ENABLE_NLS OR ENABLE_NLS STREQUAL ON) |
+ INCLUDE(Gettext) |
+ENDIF() |
#================================================================== |
# Include common.CMakeLists.txt |