mirror of
https://github.com/anope/anope.git
synced 2026-07-10 10:03:14 +02:00
Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
#include "commands.h"
|
||||
#include "modules.h"
|
||||
|
||||
#if HAVE_GETTEXT
|
||||
#if GETTEXT_FOUND
|
||||
# include <libintl.h>
|
||||
# define _(x) gettext(x)
|
||||
#else
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#cmakedefine HAVE_SYS_SELECT_H 1
|
||||
#cmakedefine HAVE_UMASK 1
|
||||
#cmakedefine HAVE_EVENTFD 1
|
||||
#cmakedefine HAVE_GETTEXT 1
|
||||
#cmakedefine GETTEXT_FOUND 1
|
||||
#cmakedefine RUNGROUP "@RUNGROUP@"
|
||||
#cmakedefine SERVICES_BIN "@SERVICES_BIN@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user