Fix ReLAPACK source selection
This commit is contained in:
parent
03bd1157d8
commit
06b022b139
|
@ -212,10 +212,10 @@ if(NOT NO_LAPACKE)
|
||||||
add_library(LAPACKE OBJECT ${LAPACKE_SOURCES})
|
add_library(LAPACKE OBJECT ${LAPACKE_SOURCES})
|
||||||
list(APPEND TARGET_OBJS "$<TARGET_OBJECTS:LAPACKE>")
|
list(APPEND TARGET_OBJS "$<TARGET_OBJECTS:LAPACKE>")
|
||||||
endif()
|
endif()
|
||||||
if(BUILD_RELAPACK)
|
#if(BUILD_RELAPACK)
|
||||||
add_library(RELAPACK OBJECT ${RELA_SOURCES})
|
# add_library(RELAPACK OBJECT ${RELA_SOURCES})
|
||||||
list(APPEND TARGET_OBJS "$<TARGET_OBJECTS:RELAPACK>")
|
# list(APPEND TARGET_OBJS "$<TARGET_OBJECTS:RELAPACK>")
|
||||||
endif()
|
#endif()
|
||||||
set(OpenBLAS_LIBS "")
|
set(OpenBLAS_LIBS "")
|
||||||
if(BUILD_STATIC_LIBS)
|
if(BUILD_STATIC_LIBS)
|
||||||
add_library(${OpenBLAS_LIBNAME}_static STATIC ${TARGET_OBJS} ${OpenBLAS_DEF_FILE})
|
add_library(${OpenBLAS_LIBNAME}_static STATIC ${TARGET_OBJS} ${OpenBLAS_DEF_FILE})
|
||||||
|
|
Loading…
Reference in New Issue