[SCons] Fix error message when system_sundials=y not satisfied

This commit is contained in:
Ray Speth
2025-09-03 19:48:02 -04:00
committed by Bryan Weber
parent 0faa2936eb
commit 5284fb4022
+2
View File
@@ -1441,6 +1441,8 @@ if env['system_sundials'] in ("y", "default"):
env["system_sundials"] = sundials_info["system_sundials"]
env["sundials_version"] = sundials_info["sundials_version"]
env["has_sundials_lapack"] = sundials_info["has_sundials_lapack"]
elif env["system_sundials"] == "y":
config_error("System SUNDIALS was specified but libraries were not found.")
if env["system_sundials"] in ("n", "default"):
if not os.path.exists('ext/sundials/include/cvodes/cvodes.h'):