On Wed, Sep 30, 2009 at 9:49 PM, Tyler Roscoe <[email protected]> wrote: > See the word "CACHE" in your example code? Why is it there?
oups, forgot about this one. If the variable is not put in CACHE (so a simple set() without arguments), then it does not work, even without the second part (the "revert" part) > Given that your first change works but your second change doesn't, I > suspect that the fact that you're trying to set these variables in the > cache -- as opposed to just setting local variables -- is causing you > problems. You don't need to use the cache to manipulate CMAKE_C_FLAGS, > so I'm not sure why you would do so. -- Tanguy Krotoff <[email protected]> +33 6 68 42 70 24 _______________________________________________ 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
