projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3843bd1
)
Activate all BUILD_ options if none was specified
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Tue, 15 Sep 2020 21:15:34 +0000
(23:15 +0200)
committer
GitHub
<noreply@github.com>
Tue, 15 Sep 2020 21:15:34 +0000
(23:15 +0200)
cmake/system.cmake
patch
|
blob
|
history
diff --git
a/cmake/system.cmake
b/cmake/system.cmake
index
aa342c3
..
8908a18
100644
(file)
--- a/
cmake/system.cmake
+++ b/
cmake/system.cmake
@@
-393,6
+393,13
@@
set(REVISION "-r${OpenBLAS_VERSION}")
set(MAJOR_VERSION ${OpenBLAS_MAJOR_VERSION})
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CCOMMON_OPT}")
+
+if (NOT BUILD_SINGLE AND NOT BUILD_DOUBLE AND NOT BUILD_COMPLEX AND NOT BUILD_COMPLEX16)
+ set (BUILD_SINGLE ON)
+ set (BUILD_DOUBLE ON)
+ set (BUILD_COMPLEX ON)
+ set (BUILD_COMPLEX16 ON)
+endif()
if (BUILD_SINGLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBUILD_SINGLE")
endif()