Commit ebb42567 authored by jcfr's avatar jcfr
Browse files

COMP: Make sure MRMLCLI, MRMLDisplayableManager and MRMLLogic are build as...

COMP: Make sure MRMLCLI, MRMLDisplayableManager and MRMLLogic are build as shared library by default

git-svn-id: http://svn.slicer.org/Slicer4/trunk@16469 3bd1e089-480b-0410-8dfb-8563597acbee
parent 20b20877
......@@ -14,6 +14,10 @@ if(POLICY CMP0017)
CMAKE_POLICY(SET CMP0017 OLD)
endif()
if(NOT DEFINED BUILD_SHARED_LIBS)
option(BUILD_SHARED_LIBS "Build with shared libraries." ON)
endif()
# --------------------------------------------------------------------------
# Include dirs
# --------------------------------------------------------------------------
......
......@@ -16,6 +16,10 @@ endif()
SET(MRMLDisplayableManager_USE_PYTHON ${Slicer_USE_PYTHONQT})
if(NOT DEFINED BUILD_SHARED_LIBS)
option(BUILD_SHARED_LIBS "Build with shared libraries." ON)
endif()
# --------------------------------------------------------------------------
# Include dirs
# --------------------------------------------------------------------------
......
......@@ -14,6 +14,10 @@ if(POLICY CMP0017)
CMAKE_POLICY(SET CMP0017 OLD)
endif()
if(NOT DEFINED BUILD_SHARED_LIBS)
option(BUILD_SHARED_LIBS "Build with shared libraries." ON)
endif()
# --------------------------------------------------------------------------
# Include dirs
# --------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment