diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2011-01-31 16:25:29 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2011-01-31 16:25:29 (GMT) |
commit | b8da1a1378a4e36d80bda0cd551cb27dcb0ec982 (patch) | |
tree | b68fa31a51b4c83a8679d705bcffd0adff25dbe6 /Tests/CMakeLists.txt | |
parent | 92ced20fa13cd2b4ed45a80d265a590d2291f8ee (diff) | |
download | CMake-b8da1a1378a4e36d80bda0cd551cb27dcb0ec982.zip CMake-b8da1a1378a4e36d80bda0cd551cb27dcb0ec982.tar.gz CMake-b8da1a1378a4e36d80bda0cd551cb27dcb0ec982.tar.bz2 |
Avoid foreach IN LISTS syntax which is not supported by CMake 2.6
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 5f0bf25..2c11919 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -572,9 +572,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/ list(APPEND CWAYLST "IgnoreGroup") list(APPEND CWAYLST "AllInOne") list(APPEND CWAYLST "AllGroupsInOne") - foreach(CPackGen IN LISTS GENLST) + foreach(CPackGen ${GENLST}) set(CPackRun_CPackGen "-DCPackGen=${CPackGen}") - foreach(CPackComponentWay IN LISTS CWAYLST) + foreach(CPackComponentWay ${CWAYLST}) set(CPackRun_CPackComponentWay "-DCPackComponentWay=${CPackComponentWay}") ADD_TEST(CPackComponentsForAll-${CPackGen}-${CPackComponentWay} ${CMAKE_CTEST_COMMAND} --build-and-test |