From 6f1a49172e900d15de5ba8f34c0af3b7c887c323 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 3 Jun 2022 05:36:27 -0600 Subject: [PATCH] Set list policy to avoid warning (#483) This comes up with refactorings being done for #483. --- tribits/ctest_driver/TribitsReadTagFile.cmake | 1 + 1 file changed, 1 insertion(+) 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)