Commit 9a1ab1de authored by jcfr's avatar jcfr
Browse files

ENH: Add Slicer_EXTENSION_CMAKE_DIR variable

Directory <Slicer_SOURCE>/Extensions/CMake will contains macros, function
and block specific to the extensions.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17071 3bd1e089-480b-0410-8dfb-8563597acbee
parent 622e04a7
......@@ -26,10 +26,13 @@ SET(Slicer_LOGOS_RESOURCE "${Slicer_SOURCE_DIR}/Resources/qSlicerLogos.qrc")
#------------------------------------------------------------------------------
SET(CMAKE_MODULE_PATH
${Slicer_SOURCE_DIR}/CMake
${Slicer_SOURCE_DIR}/Extensions/CMake
${CMAKE_MODULE_PATH}
)
SET(Slicer_CMAKE_DIR ${Slicer_SOURCE_DIR}/CMake)
SET(Slicer_EXTENSIONS_CMAKE_DIR ${Slicer_SOURCE_DIR}/Extensions/CMake)
#-----------------------------------------------------------------------------
# CMake Function(s) and Macro(s)
#-----------------------------------------------------------------------------
......
......@@ -56,10 +56,12 @@ endforeach()
# Slicer CMake macros and functions directory
set(Slicer_CMAKE_DIR "@Slicer_CMAKE_DIR@")
set(Slicer_EXTENSIONS_CMAKE_DIR "@Slicer_EXTENSIONS_CMAKE_DIR@")
# Update CMake module path
set(CMAKE_MODULE_PATH
${Slicer_CMAKE_DIR}
${Slicer_EXTENSIONS_CMAKE_DIR}
${VTK_CMAKE_DIR}
${CTK_CMAKE_DIR}
${CTK_CMAKE_UTILITIES_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