rename lapack subtarget to lapack_overrides to avoid name clash with netlib in case...
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 30 Apr 2022 18:38:09 +0000 (20:38 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 18:38:09 +0000 (20:38 +0200)
CMakeLists.txt

index 00a5980..5558500 100644 (file)
@@ -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 "$<TARGET_OBJECTS:LAPACK>")
+  add_library(LAPACK_OVERRIDES OBJECT ${LA_SOURCES})
+  list(APPEND TARGET_OBJS "$<TARGET_OBJECTS:LAPACK_OVERRIDES>")
 endif()
 if(NOT NO_LAPACKE)
   add_library(LAPACKE OBJECT ${LAPACKE_SOURCES})