From 59e58360468722b4fcd54a6588d5c3e2096164df Mon Sep 17 00:00:00 2001 From: Snaipe Date: Fri, 31 Jul 2015 11:54:10 +0200 Subject: [PATCH] Fixed extmatch functionality always being ignored --- CMakeLists.txt | 1 + src/config.h.in | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 503d13e..4bce470 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,6 +83,7 @@ if (PCRE_FOUND) src/extmatch.c src/extmatch.h ) + set(HAVE_PCRE 1) endif () set(INTERFACE_FILES diff --git a/src/config.h.in b/src/config.h.in index 194430a..5928b0b 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -2,6 +2,7 @@ # define CONFIG_H_IN_ #cmakedefine ENABLE_NLS @ENABLE_NLS@ +#cmakedefine HAVE_PCRE @HAVE_PCRE@ # define LOCALEDIR "${LOCALEDIR}" # define PACKAGE "${PROJECT_NAME}"