Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: CMakeLists.txt

Issue 6334025: ibus-chewing -- respect an NLS setting. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/ibus-chewing.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698