aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Toolset.cmake
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2021-09-27 11:16:47 +0100
committerDuncan Bellamy <dunk@denkimushi.com>2021-09-27 11:18:19 +0100
commit43b6f8aeb9d8b5bb138627eb1915f1d5e0fa87aa (patch)
treef31bf3660550a97bc04d914f88d1214df7fc1df2 /cmake/Toolset.cmake
parentb36eaf826c1f9e587f189c5e9c58966c726a95c9 (diff)
downloadrspamd-43b6f8aeb9d8b5bb138627eb1915f1d5e0fa87aa.tar.gz
rspamd-43b6f8aeb9d8b5bb138627eb1915f1d5e0fa87aa.zip
[Fix] fix static building
Diffstat (limited to 'cmake/Toolset.cmake')
-rw-r--r--cmake/Toolset.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Toolset.cmake b/cmake/Toolset.cmake
index 6ba290f96..361456c9b 100644
--- a/cmake/Toolset.cmake
+++ b/cmake/Toolset.cmake
@@ -80,7 +80,7 @@ if (ENABLE_STATIC MATCHES "ON")
SET(CMAKE_SKIP_INSTALL_RPATH ON)
SET(BUILD_STATIC 1)
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
- SET(BUILD_SHARED_LIBRARIES OFF)
+ SET(BUILD_SHARED_LIBS OFF)
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
SET(LINK_TYPE "STATIC")
SET(NO_SHARED "ON")