pineapple-src/externals/vcpkg/ports/lapack-reference/lapacke.patch

17 lines
402 B
Diff
Raw Normal View History

2022-07-23 01:01:36 +00:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ee66f1..7cec7ca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -392,8 +392,9 @@ endif()
set(LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE})
unset(LAPACK_INSTALL_EXPORT_NAME_CACHE)
-add_subdirectory(LAPACKE)
-
+if(LAPACKE)
+ add_subdirectory(LAPACKE)
+endif()
#-------------------------------------
# BLAS++ / LAPACK++