Skip to content

Commit 6b0faf9

Browse files
committed
BUG: ExtensionBuildSystem: Fix build of extensions using Ninja generator
This commit ensures the the proper error and warning analysis is performed and avoids false positive. git-svn-id: http://svn.slicer.org/Slicer4/trunk@27943 3bd1e089-480b-0410-8dfb-8563597acbee
1 parent 03731c5 commit 6b0faf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extensions/CMake/SlicerExtensionsDashboardDriverScript.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ set(track ${CTEST_TRACK_PREFIX}${track}${CTEST_TRACK_SUFFIX})
405405
# Used in SlicerExtensionPackageAndUploadTarget CMake module
406406
set(ENV{CTEST_MODEL} ${model})
407407

408-
# For more details, see http://www.kitware.com/blog/home/post/11
408+
# For more details, see https://cmake.org/cmake/help/latest/module/CTestUseLaunchers.html
409409
set(CTEST_USE_LAUNCHERS 1)
410-
if(NOT "${CTEST_CMAKE_GENERATOR}" MATCHES "Make")
410+
if(NOT "${CTEST_CMAKE_GENERATOR}" MATCHES "Make|Ninja")
411411
set(CTEST_USE_LAUNCHERS 0)
412412
endif()
413413
set(ENV{CTEST_USE_LAUNCHERS_DEFAULT} ${CTEST_USE_LAUNCHERS})

0 commit comments

Comments
 (0)