cmake: we already test on gettext

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38716 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-05-12 04:22:14 +00:00
parent b5399db9c5
commit e6ad9489cf
2 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,6 @@ endif()
if(LYX_EXTERNAL_LIBINTL) if(LYX_EXTERNAL_LIBINTL)
find_package(Libintl REQUIRED) find_package(Libintl REQUIRED)
add_definitions(-DHAVE_GETTEXT) #TODO move to config.h
else() else()
if(LYX_NLS) if(LYX_NLS)
add_subdirectory(intl "${TOP_BINARY_DIR}/intl") add_subdirectory(intl "${TOP_BINARY_DIR}/intl")

View File

@ -43,6 +43,7 @@
#define HAVE__PCLOSE 1 #define HAVE__PCLOSE 1
#define HAVE_GETPID 1 #define HAVE_GETPID 1
#define HAVE__GETPID 1 #define HAVE__GETPID 1
#define HAVE_GETTEXT 1 /* TODO this is set manually */
#define HAVE_MKDIR 1 #define HAVE_MKDIR 1
#define HAVE__MKDIR 1 #define HAVE__MKDIR 1
/* #undef HAVE_SETENV 1 */ /* #undef HAVE_SETENV 1 */