Skip to content

Commit eaf7f82

Browse files
authored
Merge pull request #85 from xianyi/develop
rebase
2 parents 3843bd1 + 4c10a16 commit eaf7f82

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmake/system.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,13 @@ set(REVISION "-r${OpenBLAS_VERSION}")
393393
set(MAJOR_VERSION ${OpenBLAS_MAJOR_VERSION})
394394

395395
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CCOMMON_OPT}")
396+
397+
if (NOT BUILD_SINGLE AND NOT BUILD_DOUBLE AND NOT BUILD_COMPLEX AND NOT BUILD_COMPLEX16)
398+
set (BUILD_SINGLE ON)
399+
set (BUILD_DOUBLE ON)
400+
set (BUILD_COMPLEX ON)
401+
set (BUILD_COMPLEX16 ON)
402+
endif()
396403
if (BUILD_SINGLE)
397404
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBUILD_SINGLE")
398405
endif()

0 commit comments

Comments
 (0)