aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Toolset.cmake
diff options
context:
space:
mode:
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")