diff options
author | Petr Vaněk <pv@excello.cz> | 2019-11-26 19:16:12 +0100 |
---|---|---|
committer | Petr Vaněk <pv@excello.cz> | 2019-11-26 19:16:12 +0100 |
commit | bbf8bb172d168f16cc90264af1da1f32a42890c3 (patch) | |
tree | 526b0bf9201a5939a7780bff8ba6f10beb2d8ef1 /cmake/Openblas.cmake | |
parent | d90b05640bcea0544ea698ccec35abbfd2e313b0 (diff) | |
download | rspamd-bbf8bb172d168f16cc90264af1da1f32a42890c3.tar.gz rspamd-bbf8bb172d168f16cc90264af1da1f32a42890c3.zip |
cmake: Unify ENABLE_OPENBLAS and ENABLE_BLAS
ENABLE_OPENBLAS is removed because it was not used to check if the
openblas library should be used. The ENABLE_BLAS is moved from
CMakeLists.txt to cmake/Openblas.cmake to have all related variables in
one file and to reduce a complexity of CMakeLists.txt slightly.
Diffstat (limited to 'cmake/Openblas.cmake')
-rw-r--r-- | cmake/Openblas.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Openblas.cmake b/cmake/Openblas.cmake index 6bf254042..e2afa92c5 100644 --- a/cmake/Openblas.cmake +++ b/cmake/Openblas.cmake @@ -1,4 +1,4 @@ -option (ENABLE_OPENBLAS "Enable openblas for fast neural network processing [default: OFF]" OFF) +option (ENABLE_BLAS "Enable openblas for fast neural network processing [default: OFF]" OFF) IF(ENABLE_BLAS MATCHES "ON") ProcessPackage(BLAS OPTIONAL_INCLUDE LIBRARY openblas blas |