Turns out, using the "verbose" form of the option definition -DOPTION:TYPE=... does not exhibit the issue.
On 8/29/11, Marcus Fritzsch <frits...@googlemail.com> wrote: > I discovered this behavior on my ubuntu 11.04 amd64 workstation with > cmake 2.8.3 when trying to set an -march= option for gcc: > > cmake -DCMAKE_C_FLAGS="-Os -march=native -flto > -freorder-blocks-and-partition" .... > > was mangled to be > > CMAKE_C_FLAGS=-Os -march:UNINITIALIZED=native -flto > -freorder-blocks-and-partition > > in the CMakeCache.txt. > > I haven't had much luck with the search engine of my choice finding > anything on the issue. > _______________________________________________ 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