Commit e9617c9f authored by jcfr's avatar jcfr

COMP: Define Slicer_PLUGINS_ and Slicer_INSTALL_PLUGINS_ variable before including SuperBuild.cmake

* Doing so will allow external project to rely on the value of these variables

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17852 3bd1e089-480b-0410-8dfb-8563597acbee
parent 3c15a396
......@@ -243,6 +243,11 @@ set(Slicer_INCLUDE_DIR "include/Slicer")
set(Slicer_SHARE_DIR "share/Slicer")
set(Slicer_ITKFACTORIES_DIR "${Slicer_LIB_DIR}/ITKFactories")
set(Slicer_PLUGINS_BIN_DIR "plugins")
set(Slicer_PLUGINS_LIB_DIR "plugins")
set(Slicer_PLUGINS_INCLUDE_DIR "${Slicer_INCLUDE_DIR}/plugins")
set(Slicer_PLUGINS_SHARE_DIR "${Slicer_SHARE_DIR}/plugins")
#-----------------------------------------------------------------------------
# Slicer install directories
#-----------------------------------------------------------------------------
......@@ -259,6 +264,11 @@ set(Slicer_INSTALL_INCLUDE_DIR "${Slicer_INSTALL_ROOT}${Slicer_INCLUDE_DIR}")
set(Slicer_INSTALL_SHARE_DIR "${Slicer_INSTALL_ROOT}${Slicer_SHARE_DIR}")
set(Slicer_INSTALL_ITKFACTORIES_DIR "${Slicer_INSTALL_LIB_DIR}/ITKFactories")
set(Slicer_INSTALL_PLUGINS_BIN_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_BIN_DIR}")
set(Slicer_INSTALL_PLUGINS_LIB_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_LIB_DIR}")
set(Slicer_INSTALL_PLUGINS_INCLUDE_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_INCLUDE_DIR}")
set(Slicer_INSTALL_PLUGINS_SHARE_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_SHARE_DIR}")
#-----------------------------------------------------------------------------
# Qt - Slicer_REQUIRED_QT_MODULES
#-----------------------------------------------------------------------------
......@@ -319,18 +329,8 @@ set(Slicer_QtPlugins_DIR "lib/QtPlugins")
set(Slicer_INSTALL_QtPlugins_DIR "${Slicer_INSTALL_ROOT}${Slicer_QtPlugins_DIR}")
#-----------------------------------------------------------------------------
# Plugins and Modules relative directories
# Slicer Home
#------------------------------------------------------------------------------
set(Slicer_PLUGINS_BIN_DIR "plugins")
set(Slicer_PLUGINS_LIB_DIR "plugins")
set(Slicer_PLUGINS_INCLUDE_DIR "${Slicer_INCLUDE_DIR}/plugins")
set(Slicer_PLUGINS_SHARE_DIR "${Slicer_SHARE_DIR}/plugins")
set(Slicer_INSTALL_PLUGINS_BIN_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_BIN_DIR}")
set(Slicer_INSTALL_PLUGINS_LIB_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_LIB_DIR}")
set(Slicer_INSTALL_PLUGINS_INCLUDE_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_INCLUDE_DIR}")
set(Slicer_INSTALL_PLUGINS_SHARE_DIR "${Slicer_INSTALL_ROOT}${Slicer_PLUGINS_SHARE_DIR}")
set(Slicer_HOME "${Slicer_BINARY_DIR}")
#-----------------------------------------------------------------------------
......
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