Optionally add ReLAPACK to LIB_COMPONENTS
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 12 Oct 2017 15:02:01 +0000 (17:02 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2017 15:02:01 +0000 (17:02 +0200)
cmake/system.cmake

index daa2683..236a7e8 100644 (file)
@@ -387,6 +387,9 @@ if (NOT NO_LAPACK)
   if (NOT NO_LAPACKE)
     set(LIB_COMPONENTS "${LIB_COMPONENTS} LAPACKE")
   endif ()
+  if (BUILD_RELAPACK)
+    set(LIB_COMPONENTS "${LIB_COMPONENTS} ReLAPACK")
+  endif ()
 endif ()
 
 if (ONLY_CBLAS)