From 1fbbe9636e8c932d4d71f7fb879a68f49a36805f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Mon, 14 Aug 2006 11:46:57 +0000 Subject: [PATCH] enable nls with option >all<, print instruction to enable nls git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14670 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt index a89b001771..294973a562 100644 --- a/development/cmake/CMakeLists.txt +++ b/development/cmake/CMakeLists.txt @@ -41,10 +41,12 @@ endif(all OR aspell) set(aspell) message("") -if(nls) +if(nls OR all) add_definitions(-DENABLE_NLS=1) - message("----- Building with ENABLE_NLS and HAVE_ICONV") -endif(nls) + message("----- Building with ENABLE_NLS") +else(nls OR all) + message("----- No nls, to enable use -Dnls=1") +endif(nls OR all) set(nls) if(ASPELL_FOUND) add_definitions(-DUSE_ASPELL=1) -- 2.39.2