pineapple-src/externals/vcpkg/ports/lapack-reference/lapacke.patch
2022-07-23 03:01:36 +02:00

17 lines
402 B
Diff
Executable File

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++