]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/CMakeLists.txt
enable nls with option >all<, print instruction to enable nls
[lyx.git] / development / cmake / CMakeLists.txt
index a89b0017717f6b2732e9bfcd4c723dd814b664a8..294973a5625996b4b3e73c32dd81786dcb69f79a 100644 (file)
@@ -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)