Commit 5203a92e authored by Brad King's avatar Brad King
Browse files

BUG: Can't double-quote foreach arguments.

parent ee46e410
......@@ -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}
......
......@@ -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)
......
......@@ -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}
......
......@@ -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)
......
......@@ -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}
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment