Commit ce6e3260 authored by jcfr's avatar jcfr

COMP: CMakeLists.txt - Declaration of Slicer_INSTALL_* variable done before including Superbuild

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15474 3bd1e089-480b-0410-8dfb-8563597acbee
parent 155ec0be
......@@ -214,6 +214,16 @@ ELSEIF(MSVC)
SET(Slicer_CXX_FLAGS "${cflags} /EHsc /GR ${Slicer_CXX_FLAGS}")
ENDIF()
#-----------------------------------------------------------------------------
# Slicer install directories
#------------------------------------------------------------------------------
SET(Slicer_INSTALL_BIN_DIR "bin")
SET(Slicer_INSTALL_LIB_DIR "lib/Slicer3")
SET(Slicer_INSTALL_INCLUDE_DIR "include/Slicer")
SET(Slicer_INSTALL_SHARE_DIR "share/Slicer")
SET(Slicer_INSTALL_ITKFACTORIES_DIR "${Slicer_INSTALL_LIB_DIR}/ITKFactories")
#-----------------------------------------------------------------------------
# Superbuild script
#-----------------------------------------------------------------------------
......@@ -244,15 +254,9 @@ SET(Slicer_VERSION "${Slicer_VERSION_MAJOR}.${Slicer_VERSION_MINOR}")
SET(Slicer_VERSION_FULL "${Slicer_VERSION}.${Slicer_VERSION_PATCH}")
#-----------------------------------------------------------------------------
# Install directories
# Plugins and Modules install directories
#------------------------------------------------------------------------------
SET(Slicer_INSTALL_BIN_DIR "bin")
SET(Slicer_INSTALL_LIB_DIR "lib/Slicer3")
SET(Slicer_INSTALL_INCLUDE_DIR "include/Slicer")
SET(Slicer_INSTALL_SHARE_DIR "share/Slicer")
SET(Slicer_INSTALL_ITKFACTORIES_DIR "${Slicer_INSTALL_LIB_DIR}/ITKFactories")
SET(Slicer_INSTALL_PLUGINS_BIN_DIR "${Slicer_INSTALL_LIB_DIR}/Plugins")
SET(Slicer_INSTALL_PLUGINS_LIB_DIR "${Slicer_INSTALL_LIB_DIR}/Plugins")
SET(Slicer_INSTALL_PLUGINS_INCLUDE_DIR "${Slicer_INSTALL_INCLUDE_DIR}/Plugins")
......
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