diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake index e60bb9d4f..065cbadec 100644 --- a/Modules/Dart.cmake +++ b/Modules/Dart.cmake @@ -153,7 +153,7 @@ IF(BUILD_TESTING) ${TCL_TCLSH} ${DART_ROOT}/Source/Client/DashboardManager.tcl ${PROJECT_BINARY_DIR}/DartConfiguration.tcl Nightly DashboardStart) ADD_CUSTOM_TARGET(NightlyDashboardEnd ${TCL_TCLSH} ${DART_ROOT}/Source/Client/DashboardManager.tcl ${PROJECT_BINARY_DIR}/DartConfiguration.tcl Nightly DashboardEnd) - ENDIF (UNIX) + ENDIF (${CMAKE_BUILD_TOOL} MATCHES make) ELSE(TCL_TCLSH) MESSAGE("Could not find TCL_TCLSH, disabling testing." "Error")