From e8041092513e2a4c371406986f31916562578f22 Mon Sep 17 00:00:00 2001 From: Dotsenko Andrey Date: Wed, 4 Jan 2017 23:37:23 +0300 Subject: [PATCH] experiments (temporary commit) --- CMakeLists.txt | 1 + appveyor.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 518c959a..802f0300 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -319,6 +319,7 @@ else(HAVE_SUBUNIT) endif (HAVE_SUBUNIT) if (NOT ENABLE_REGEX AND WITH_PCREPOSIX) + find_package(PCRE) # pcreposix functions are just wrappers for pcre functions check_library_exists(pcreposix regcomp "" HAVE_LIBPCREPOSIX) if (HAVE_LIBPCREPOSIX) diff --git a/appveyor.yml b/appveyor.yml index 0ec681cf..aa3c9880 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -58,6 +58,7 @@ before_build: - if %platform%==cygwin bash -c "./configure" - if %platform%==mingw32 set PATH=C:\MinGW\bin;%PATH% - if %platform%==mingw32 appveyor-retry nuget install pcre -Verbosity detailed -OutputDirectory C:\pcre + - if %platform%==mingw32 set CMAKE_PREFIX_PATH=C:\pcre - if %platform%==mingw32 cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=%P% - if %platform%==mingw64msys set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% - if %platform%==mingw64msys bash -c "autoreconf -i"