On Tue, Oct 25, 2011 at 10:05 AM, Dan Kegel <d...@kegel.com> wrote: > CONFIGURE_COMMAND ${CMAKE_SOURCE_DIR}/celt/configure -C > --prefix=${CMAKE_BINARY_DIR}/prefix --disable-shared --with-pic CFLAGS="-g > -O2 -fPIC"
Turns out the workaround is CONFIGURE_COMMAND ${CMAKE_SOURCE_DIR}/celt/configure -C --prefix=${CMAKE_BINARY_DIR}/prefix --disable-shared --with-pic CFLAGS=-g\ -O2\ -fPIC That's just freaky. I've never seen backslashes and double-quotes behave differently like that. I guess quotes are "stickier" in cmake than in shell. - Dan -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake