SDL2 and CMake output


Hi everyone,

I am just wondering about the behaviour of CMake.
In my game I have my own cmakelists.txt and I include SDL’s one. Just before including it I set some options like: set(VIDEO_OPENGLES ON CACHE BOOL “” FORCE)

Then in CMake I click configure twice, the tickbox for OPENGLES option is ticked but in the output window I get conflicting output: VIDEO_OPENGLES (Wanted: ON): OFF

Does this mean SDL is overriding my request or something? I just want to set these options with a script and not tick the boxes manually each time in CMake.

Anyone know if the output thing is accurate or what I am doing wrong?