[CMake] CMake doesn't accept multiple entries for a variable on the commandline

Pau Garcia i Quiles pgquiles at elpauer.org
Thu Apr 17 06:05:40 EDT 2008


Quoting Andreas Pakulat <apaku at gmx.de>:

> Hi,
>
> trying to execute
>
> cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0"
>
> doesn't work. The CMake cache only contains the last one, -O0, in that
> case. This is with cmake 2.6 rc7, not sure wether this works in 2.4 and I
> can't test before next week.
>
> Anybody else seeing that, especially with newer rc's? (I can't update
> cmake either until sunday).

Works for me with 2.4.8


-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the CMake mailing list