[CMake] Custom Toolchain & CMAKE_MAKE_PROGRAM

Michael Weise michael.weise at ek-team.de
Tue Nov 5 05:16:47 EST 2013


On Tue, 5 Nov 2013 10:49:05 +0100
Michael Weise <michael.weise at ek-team.de> wrote:

> I'm new to CMake, so I guess it's a misunderstanding on my
> side of how CMake works. What's going on here?

I found the answer myself here:
http://stackoverflow.com/questions/5006286/cmake-set-doesnt-work-on-same-variable-after-find-path-was-called

"This is a common misconception about "set" and CMake cache
variables. set ... sets a local override value ... but it has no
effect on the cache variable of the same name. Therefore, it is not
visible in the cmake-gui or ccmake cache editing programs."

Regards
Michael


More information about the CMake mailing list