diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-14 17:48:46 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-14 17:48:46 +0100 |
commit | e229b6dd55b04b155b17fcb8c09b9f7e602c4913 (patch) | |
tree | 40163e7cfe4ec72308b359fa13e464bd70e538a2 /src/CMakeLists.txt | |
parent | 784746733a95d847e741a2d74153e99349b52fee (diff) | |
download | rspamd-e229b6dd55b04b155b17fcb8c09b9f7e602c4913.tar.gz rspamd-e229b6dd55b04b155b17fcb8c09b9f7e602c4913.zip |
[Fix] Add configurable number of threads for OpenBLAS
Issue: #3082
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6411601fa..797ae2074 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -206,6 +206,10 @@ IF (ENABLE_HYPERSCAN MATCHES "ON") TARGET_LINK_LIBRARIES(rspamd-server hs) ENDIF() +IF (WITH_BLAS) + TARGET_LINK_LIBRARIES(rspamd-server ${BLAS_REQUIRED_LIBRARIES}) +ENDIF() + TARGET_LINK_LIBRARIES(rspamd-server ${RSPAMD_REQUIRED_LIBRARIES}) ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CMAKE_CURRENT_BINARY_DIR}/workers.c) |