CMakeLists.txt: fix symbol in conditional for disabling input build