From 9d402202742d449e5cc7dc4248cb1ab0dffa7ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Fr=C3=B6jdh?= Date: Tue, 21 Oct 2025 18:09:42 +0200 Subject: [PATCH] Disable building of shared libraries by default (#1320) * Disable building of shared libraries by default --- CMakeLists.txt | 2 +- RELEASE.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8732b78b6..3cf9df520 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,7 @@ endif() option(SLS_USE_HDF5 "HDF5 File format" OFF) -option(SLS_BUILD_SHARED_LIBRARIES "Build shared libaries" ON) +option(SLS_BUILD_SHARED_LIBRARIES "Build shared libaries" OFF) option(SLS_USE_TEXTCLIENT "Text Client" ON) option(SLS_USE_DETECTOR "Detector libs" ON) option(SLS_USE_RECEIVER "Receiver" ON) diff --git a/RELEASE.txt b/RELEASE.txt index 8bf25a615..a0e86380e 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -26,6 +26,10 @@ This document describes the differences between vx.x.x and vx.0.2 1 New, Changed or Resolved Features ===================================== +Building shared libraries is disabled by default. If you need to link +against any of the libSls*.so libraries, you can enable this by passing + -DSLS_BUILD_SHARED_LIBRARIES=ON to CMake. + Added SLS_USE_SYSTEM_ZMQ option (default OFF) to use the libzmq of the host instead of the one included in our repo.