aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-26 23:21:54 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-26 23:21:54 -0800
commit146e10d365e3c451ba92b226e0d7cbfcc3574383 (patch)
treeb9cd8dd2285d78bd58ab0a3d2d92923b760a0966 /cmake
parent7646fd3e7ba95a03d64405bc3a032a064a921187 (diff)
downloadnng-146e10d365e3c451ba92b226e0d7cbfcc3574383.tar.gz
nng-146e10d365e3c451ba92b226e0d7cbfcc3574383.tar.bz2
nng-146e10d365e3c451ba92b226e0d7cbfcc3574383.zip
fixes #1954 make BUILD_SHARED_LIBS ON by default
Diffstat (limited to 'cmake')
-rw-r--r--cmake/NNGOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/NNGOptions.cmake b/cmake/NNGOptions.cmake
index fbca75cf..c0b6d63a 100644
--- a/cmake/NNGOptions.cmake
+++ b/cmake/NNGOptions.cmake
@@ -18,7 +18,7 @@ else ()
endif ()
# Global options.
-option(BUILD_SHARED_LIBS "Build shared library" ${BUILD_SHARED_LIBS})
+option(BUILD_SHARED_LIBS "Build shared library" ON)
# We only build command line tools and tests if we are not in a
# cross-compile situation. Cross-compiling users who still want to