CMake now works exactly as it should with all options.