From 567d8853d12dd47f4d1ff06df5a93b5bea38e64e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 30 Apr 2022 20:38:09 +0200 Subject: [PATCH] rename lapack subtarget to lapack_overrides to avoid name clash with netlib in case-insensitive settings --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00a5980af..5558500d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,8 +203,8 @@ endif () # add objects to the openblas lib if(NOT NO_LAPACK) - add_library(LAPACK OBJECT ${LA_SOURCES}) - list(APPEND TARGET_OBJS "$") + add_library(LAPACK_OVERRIDES OBJECT ${LA_SOURCES}) + list(APPEND TARGET_OBJS "$") endif() if(NOT NO_LAPACKE) add_library(LAPACKE OBJECT ${LAPACKE_SOURCES})