diff --git a/driver/others/CMakeLists.txt b/driver/others/CMakeLists.txt index 10af485e9..a28cf1e79 100644 --- a/driver/others/CMakeLists.txt +++ b/driver/others/CMakeLists.txt @@ -44,7 +44,9 @@ add_library(COMMON_OBJS OBJECT #ifdef FUNCTION_PROFILE #COMMONOBJS += profile.$(SUFFIX) #endif -# + +list(APPEND DBLAS_OBJS "COMMON_OBJS") + #LIBOTHERS = libothers.$(LIBSUFFIX) # #ifeq ($(USE_OPENMP), 1) @@ -70,3 +72,6 @@ add_library(COMMON_OBJS OBJECT #else #HPLOBJS = memory.$(SUFFIX) xerbla.$(SUFFIX) parameter.$(SUFFIX) #endif + +set(DBLAS_OBJS ${DBLAS_OBJS} PARENT_SCOPE) # list append removes the scope from DBLAS_OBJS +