Restored NLS back
This commit is contained in:
parent
734dad4390
commit
b4b6b611ea
1 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue