diff --git a/CMakeLists.txt b/CMakeLists.txt index 85c3ee7991420de10186fecf57020ec0111f5336..732d0f0a0b8c2fe0384ed627f6d62818a4f5042e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -254,7 +254,7 @@ LINK_DIRECTORIES(.) #----------------------------------------------------------------------------- # OTB build configuration options. -OPTION(BUILD_SHARED_LIBS "Build OTB with shared libraries." OFF) +OPTION(BUILD_SHARED_LIBS "Build OTB with shared libraries." ON) SET(OTB_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS}) # Options for building some of the most common core templates explicitly only