Avoid foreach IN LISTS syntax which is not supported by CMake 2.6
This commit is contained in:
parent
92ced20fa1
commit
b8da1a1378
|
@ -572,9 +572,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
list(APPEND CWAYLST "IgnoreGroup")
|
list(APPEND CWAYLST "IgnoreGroup")
|
||||||
list(APPEND CWAYLST "AllInOne")
|
list(APPEND CWAYLST "AllInOne")
|
||||||
list(APPEND CWAYLST "AllGroupsInOne")
|
list(APPEND CWAYLST "AllGroupsInOne")
|
||||||
foreach(CPackGen IN LISTS GENLST)
|
foreach(CPackGen ${GENLST})
|
||||||
set(CPackRun_CPackGen "-DCPackGen=${CPackGen}")
|
set(CPackRun_CPackGen "-DCPackGen=${CPackGen}")
|
||||||
foreach(CPackComponentWay IN LISTS CWAYLST)
|
foreach(CPackComponentWay ${CWAYLST})
|
||||||
set(CPackRun_CPackComponentWay "-DCPackComponentWay=${CPackComponentWay}")
|
set(CPackRun_CPackComponentWay "-DCPackComponentWay=${CPackComponentWay}")
|
||||||
ADD_TEST(CPackComponentsForAll-${CPackGen}-${CPackComponentWay} ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(CPackComponentsForAll-${CPackGen}-${CPackComponentWay} ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
|
|
Loading…
Reference in New Issue