Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 9b86ac7fe502f73b89300c030763d7fcb57514d7 1 parent 5b30112
Jean-Christophe Fillion-Robin jcfr authored
4 Base/CMakeLists.txt
View
@@ -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.
2  CMakeLists.txt
View
@@ -820,6 +820,8 @@ set(Slicer_GUI_LIBRARY qSlicerBaseQTApp)
#-----------------------------------------------------------------------------
# Applications
#-----------------------------------------------------------------------------
+add_subdirectory(Modules/Core)
+add_subdirectory(Base/QTApp)
add_subdirectory(Modules)
add_subdirectory(Applications)
3  Modules/CMakeLists.txt
View
@@ -1,4 +1,5 @@
-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)
Please sign in to comment.
Something went wrong with that request. Please try again.