summaryrefslogtreecommitdiffstats
path: root/Tests/VSWinStorePhone
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-20 22:00:05 (GMT)
committerBrad King <brad.king@kitware.com>2022-09-22 13:24:46 (GMT)
commita509602699eb83fbbea67244051c8a18f708a6ae (patch)
tree94dc40d7c2f27d428e3e421a079fdb9c74ca29e3 /Tests/VSWinStorePhone
parent914d21de58094d461c9f86738136fb034a691113 (diff)
downloadCMake-a509602699eb83fbbea67244051c8a18f708a6ae.zip
CMake-a509602699eb83fbbea67244051c8a18f708a6ae.tar.gz
CMake-a509602699eb83fbbea67244051c8a18f708a6ae.tar.bz2
Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS`
Diffstat (limited to 'Tests/VSWinStorePhone')
-rw-r--r--Tests/VSWinStorePhone/VerifyAppPackage.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/VSWinStorePhone/VerifyAppPackage.cmake b/Tests/VSWinStorePhone/VerifyAppPackage.cmake
index f9440d7..52e8a54 100644
--- a/Tests/VSWinStorePhone/VerifyAppPackage.cmake
+++ b/Tests/VSWinStorePhone/VerifyAppPackage.cmake
@@ -26,7 +26,7 @@ if(NOT result EQUAL 0)
message(FATAL_ERROR "Listing app package content failed with: ${error}")
endif()
-foreach(app_pkg_item ${EXPECTED_APP_PKG_CONTENT})
+foreach(app_pkg_item IN LISTS EXPECTED_APP_PKG_CONTENT)
string(FIND ${APP_PKG_CONTENT_OUTPUT} ${app_pkg_item} _found)
if(_found EQUAL -1)
message(FATAL_ERROR "Generated app package is missing an expected item: ${app_pkg_item}")