Skip to content

Commit

Permalink
Fix missing return code check in SConstruct script
Browse files Browse the repository at this point in the history
  • Loading branch information
Guus Bertens authored and speth committed Nov 29, 2024
1 parent f9ac078 commit 51dfd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ env['HAS_OPENMP'] = conf.CheckLibWithHeader(
["iomp5", "omp", "gomp"], "omp.h", language="C++"
)

_, boost_lib_version = run_preprocessor(conf, ["<boost/version.hpp>"], "BOOST_LIB_VERSION")
retcode, boost_lib_version = run_preprocessor(conf, ["<boost/version.hpp>"], "BOOST_LIB_VERSION")
if not retcode:
config_error("Boost could not be found. Install Boost headers or set "
"'boost_inc_dir' to point to the boost headers.")
Expand Down

0 comments on commit 51dfd76

Please sign in to comment.