Commit 9b86ac7f authored by jcfr's avatar jcfr

COMP: Ensure QTApp library can use Module/Core headers

See #2251 / http://www.na-mic.org/Bug/view.php?id=2251

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21052 3bd1e089-480b-0410-8dfb-8563597acbee
parent 5b301129
......@@ -21,4 +21,6 @@ endif()
if(Slicer_USE_PYTHONQT)
add_subdirectory(Python)
endif(Slicer_USE_PYTHONQT)
add_subdirectory(QTApp)
# Since "QTApp" depends on "Modules/Core", the folder is included in the top-level CMakeLists.txt
# after "Modules/Core" folder.
......@@ -820,6 +820,8 @@ set(Slicer_GUI_LIBRARY qSlicerBaseQTApp)
#-----------------------------------------------------------------------------
# Applications
#-----------------------------------------------------------------------------
add_subdirectory(Modules/Core)
add_subdirectory(Base/QTApp)
add_subdirectory(Modules)
add_subdirectory(Applications)
......
add_subdirectory(Core)
# "Core" folder is included in the top-level CMakeLists.txt just before "Base/QTApp". Doing so
# make it possible for QTApp to use on the Core module factory.
if(Slicer_BUILD_QTLOADABLEMODULES)
add_subdirectory(Loadable)
......
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