瀏覽代碼

Validate apps first, since they might trigger plug-in build options.

Sascha Zelzer 13 年之前
父節點
當前提交
4f2805eb19
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMake/ctkMacroSetupPlugins.cmake

+ 1 - 1
CMake/ctkMacroSetupPlugins.cmake

@@ -163,7 +163,7 @@ MACRO(ctkMacroSetupPlugins )
                                  "${plugin_dirswithoption};${previous_plugin_dirswithoption};${MY_APPS}"
                                  "${plugin_dirswithoption};${previous_plugin_dirswithoption};${MY_APPS}"
                                  WITH_EXTERNALS)
                                  WITH_EXTERNALS)
   ctkMacroValidateBuildOptions("${CMAKE_CURRENT_BINARY_DIR}" "${CTK_DGRAPH_EXECUTABLE}"
   ctkMacroValidateBuildOptions("${CMAKE_CURRENT_BINARY_DIR}" "${CTK_DGRAPH_EXECUTABLE}"
-                               "${plugin_dirswithoption};${previous_plugin_dirswithoption};${MY_APPS}")
+                               "${MY_APPS};${plugin_dirswithoption};${previous_plugin_dirswithoption}")
 
 
   # Record the current set of plug-ins and their option names
   # Record the current set of plug-ins and their option names
   SET_PROPERTY(GLOBAL APPEND PROPERTY ctkMacroSetupExternalPlugins_dirswithoption ${plugin_dirswithoption})
   SET_PROPERTY(GLOBAL APPEND PROPERTY ctkMacroSetupExternalPlugins_dirswithoption ${plugin_dirswithoption})