Removed return value from GenerateNamedObjects.

It sets DBLAS_OBJS directly to save a bunch of list appending in the
CMakeLists.txt files.
This commit is contained in:
Hank Anderson
2015-02-09 12:28:09 -06:00
parent f992799226
commit e8c39138c6
6 changed files with 4 additions and 91 deletions
-4
View File
@@ -50,7 +50,6 @@ set(ZLAPACK_SOURCES
)
GenerateNamedObjects("${LAPACK_SOURCES}" "DOUBLE" "" "" 0)
list(APPEND DBLAS_OBJS ${OBJ_LIST_OUT})
if (SMP)
@@ -89,13 +88,10 @@ if (SMP)
)
GenerateNamedObjects("${PARALLEL_SOURCES}" "DOUBLE" "" "" 0)
list(APPEND DBLAS_OBJS ${OBJ_LIST_OUT})
endif ()
GenerateCombinationObjects("${TRANS_SOURCES}" "TRANS" "N" "DOUBLE" "" 4)
list(APPEND DBLAS_OBJS ${COMBO_OBJ_LIST_OUT})
GenerateCombinationObjects("${UNIT_SOURCES}" "UNIT" "N" "DOUBLE" "" 4)
list(APPEND DBLAS_OBJS ${COMBO_OBJ_LIST_OUT})
set(DBLAS_OBJS ${DBLAS_OBJS} PARENT_SCOPE) # list append removes the scope from DBLAS_OBJS