diff --git a/CMakeLists.txt b/CMakeLists.txt index 92702d72..4da0a03a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,10 @@ SET(JFJOCH_USE_CUDA ON CACHE BOOL "Compile Jungfraujoch with CUDA") SET(JFJOCH_VIEWER_BUILD OFF CACHE BOOL "Compile Jungfraujoch viewer") SET(JFJOCH_VIEWER_ONLY OFF CACHE BOOL "Compile only jfjoch_viewer and its dependencies") -FIND_PACKAGE(ZLIB REQUIRED) - SET (ZLIB_USE_STATIC_LIBS TRUE) +FIND_PACKAGE(ZLIB REQUIRED) + OPTION(SLS9 "Build with sls_detector_package v9.2.0" OFF) SET(BUILD_SHARED_LIBS OFF)