Browse Source

Merge branch '242-fix-superbuild-error-reporting'

* 242-fix-superbuild-error-reporting:
  In CTest script, Disable CTEST_USE_LAUNCHERS for non Make generator
Jean-Christophe Fillion-Robin 12 years ago
parent
commit
daee4aa29e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      CMake/ctkDashboardDriverScript.cmake

+ 3 - 0
CMake/ctkDashboardDriverScript.cmake

@@ -98,6 +98,9 @@ endif()
 
 # For more details, see http://www.kitware.com/blog/home/post/11
 set(CTEST_USE_LAUNCHERS 1)
+if(NOT "${CTEST_CMAKE_GENERATOR}" MATCHES "Make")
+  set(CTEST_USE_LAUNCHERS 0)
+endif()
 set(ENV{CTEST_USE_LAUNCHERS_DEFAULT} ${CTEST_USE_LAUNCHERS})
 
 if(empty_binary_directory)