cmake-gui: Fix compile warning.
Merge topic 'var-type-autofill' into next

9a48b019 cmake-gui: Fix compile warning.