mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-04 13:36:57 -06:00
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.
This commit is contained in:
parent
d530dcfe17
commit
778e87d710
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user