diff --git a/tribits/ctest_driver/TribitsReadTagFile.cmake b/tribits/ctest_driver/TribitsReadTagFile.cmake index 6fac636d7..5400b55f1 100644 --- a/tribits/ctest_driver/TribitsReadTagFile.cmake +++ b/tribits/ctest_driver/TribitsReadTagFile.cmake @@ -10,6 +10,7 @@ function(tribits_read_ctest_tag_file tagFileIn buildStartTimeOut cdashGroupOut cdashModelOut ) + cmake_policy(SET CMP0007 NEW) file(READ "${tagFileIn}" tagFileStr) string(REPLACE "\n" ";" tagFileStrList "${tagFileStr}") list(GET tagFileStrList 0 buildStartTime)