From 146e10d365e3c451ba92b226e0d7cbfcc3574383 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 26 Dec 2024 23:21:54 -0800 Subject: fixes #1954 make BUILD_SHARED_LIBS ON by default --- cmake/NNGOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2