From dff4e8f51cc9d9ec34d8b1a5582d0186d695fe32 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 25 Jun 2014 16:56:22 +0200 Subject: [PATCH] add the boost::regex library as a prerequisite this is required for regex-matching keywords. Once GCC 4.9 is the minimum compiler version to be supported, this can be dropped in favor of std::regex ... --- cmake/Modules/Findopm-parser.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/Findopm-parser.cmake b/cmake/Modules/Findopm-parser.cmake index 79558089a..62c48b2b6 100644 --- a/cmake/Modules/Findopm-parser.cmake +++ b/cmake/Modules/Findopm-parser.cmake @@ -115,7 +115,7 @@ if (NOT CJSON_FOUND) endif () # get the prerequisite Boost libraries -find_package(Boost 1.44.0 COMPONENTS filesystem date_time system unit_test_framework ${OPM_PARSER_QUIET}) +find_package(Boost 1.44.0 COMPONENTS filesystem date_time system unit_test_framework regex ${OPM_PARSER_QUIET}) if (CJSON_FOUND AND ERT_FOUND AND Boost_FOUND AND OPM_PARSER_LIBRARY AND OPM_JSON_LIBRARY AND OPM_PARSER_INCLUDE_DIR)