From e9a5e822235479210c2299f33e36b8d9e5bff178 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 12 Jun 2014 21:46:18 +0200 Subject: [PATCH] Findopm-parser.cmake: invoke FindBoost unconditionally even if boost was found previously, it might still miss a few libraries. thanks to @akva2 for catching this. --- cmake/Modules/Findopm-parser.cmake | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cmake/Modules/Findopm-parser.cmake b/cmake/Modules/Findopm-parser.cmake index 6f301599..714dd570 100644 --- a/cmake/Modules/Findopm-parser.cmake +++ b/cmake/Modules/Findopm-parser.cmake @@ -110,11 +110,9 @@ if (NOT CJSON_FOUND) endif () # get the prerequisite Boost libraries -if (NOT Boost_FOUND) - find_package(Boost 1.44.0 - COMPONENTS filesystem date_time system unit_test_framework - ${opm-parser_FIND_REQUIRED} ${OPM_PARSER_QUIET}) -endif () +find_package(Boost 1.44.0 + COMPONENTS filesystem date_time system unit_test_framework + ${opm-parser_FIND_REQUIRED} ${OPM_PARSER_QUIET}) if (NOT CJSON_FOUND OR NOT ERT_FOUND OR NOT Boost_FOUND) set(opm-parser_FOUND "0")