Commit a182d3c
committed
NUKE CMake dependent options
cmake_dependent_option, as implemented in the GUI/TUI, is a pointless
misfeature. It could be useful if it, say, showed the option as grayed
out and then enabled itself as soon as the dependee changed. But what it
actually does is hide the dependent option completely, and not show it
until you reconfigure. So it's just a nuisance when you want to use the
option: you have to configure multiple times. The goal of hiding options
that are not relevant is hopeless anyway since there are always zillions
of options that don't affect the current build.
We had just 2 cmake_depend_option's, USE_SMP and USE_SLIM_LTO.
Fixes Unvanquished/Unvanquished#1921.1 parent bc09529 commit a182d3c
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
0 commit comments