Optionally add ReLAPACK to LIB_COMPONENTS
@@ -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)
