--- a/src/hugin1/CMakeLists.txt
+++ b/src/hugin1/CMakeLists.txt
@@ -5,9 +5,9 @@
 IF(wxWidgets_FOUND)
 #  INCLUDE(${wxWidgets_USE_FILE})
   add_subdirectory(base_wx)
+  add_subdirectory(stitch_project)
   add_subdirectory(hugin)
   add_subdirectory(nona_gui)
-  add_subdirectory(stitch_project)
 ENDIF(wxWidgets_FOUND)
 
 IF(VIPS_FOUND)