openmolcas: fix build w.r.t. openblas

Fall out from switching openblas over to multiple outputs:
https://github.com/NixOS/nixpkgs/pull/98337
This commit is contained in:
Markus Kowalewski
2020-10-19 14:00:48 +02:00
parent 7ef527cff8
commit 8b02ff6b8e
2 changed files with 18 additions and 2 deletions
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 055ff8ef..3f60279b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1436,7 +1436,7 @@ if (LINALG STREQUAL "OpenBLAS")
NAMES openblas
PATHS ${OPENBLASROOT}
PATH_SUFFIXES lib
- NO_DEFAULT_PATH)
+ )
if (NOT LIBOPENBLAS)
message (FATAL_ERROR