BUG: Can't double-quote foreach arguments.

This commit is contained in:
Brad King 2002-12-12 10:10:34 -05:00
parent ee46e410ce
commit 5203a92ef1
6 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/dummylib.lib
COPYONLY IMMEDIATE)
FOREACH (ext "${CMAKE_SHLIB_SUFFIX};.so;.a;.sl")
FOREACH (ext ${CMAKE_SHLIB_SUFFIX};.so;.a;.sl)
CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/libdummylib${ext}

View File

@ -157,7 +157,7 @@ FOREACH (INDEX 1 2)
ENDFOREACH(INDEX)
SET(FOREACH_CONCAT "")
FOREACH (INDEX "a;b;c;d;e;f;g")
FOREACH (INDEX a;b;c;d;e;f;g)
SET(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}")
ENDFOREACH(INDEX)

View File

@ -115,7 +115,7 @@ CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/dummylib.lib
COPYONLY IMMEDIATE)
FOREACH (ext "${CMAKE_SHLIB_SUFFIX};.so;.a;.sl")
FOREACH (ext ${CMAKE_SHLIB_SUFFIX};.so;.a;.sl)
CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/libdummylib${ext}

View File

@ -157,7 +157,7 @@ FOREACH (INDEX 1 2)
ENDFOREACH(INDEX)
SET(FOREACH_CONCAT "")
FOREACH (INDEX "a;b;c;d;e;f;g")
FOREACH (INDEX a;b;c;d;e;f;g)
SET(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}")
ENDFOREACH(INDEX)

View File

@ -115,7 +115,7 @@ CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/dummylib.lib
COPYONLY IMMEDIATE)
FOREACH (ext "${CMAKE_SHLIB_SUFFIX};.so;.a;.sl")
FOREACH (ext ${CMAKE_SHLIB_SUFFIX};.so;.a;.sl)
CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/libdummylib${ext}

View File

@ -157,7 +157,7 @@ FOREACH (INDEX 1 2)
ENDFOREACH(INDEX)
SET(FOREACH_CONCAT "")
FOREACH (INDEX "a;b;c;d;e;f;g")
FOREACH (INDEX a;b;c;d;e;f;g)
SET(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}")
ENDFOREACH(INDEX)