From b4b6b611ea38149ff42e87b22dc4a713af8991b5 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Sun, 6 Sep 2015 00:44:45 +0200 Subject: [PATCH] Restored NLS back --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7acfdb..a0fb36c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,13 +53,13 @@ endif() # Find dependencies -#find_package(Gettext) -#find_package(Libintl) -#if (GETTEXT_FOUND AND LIBINTL_LIB_FOUND) -# include(GettextTranslate) -# add_subdirectory(po) -# set(ENABLE_NLS 1) -#endif () +find_package(Gettext) +find_package(Libintl) +if (GETTEXT_FOUND AND LIBINTL_LIB_FOUND) + include(GettextTranslate) + add_subdirectory(po) + set(ENABLE_NLS 1) +endif () include(CheckLibraryExists) CHECK_LIBRARY_EXISTS(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME)