The CMake 3.0 path used the old syntax for logging if the module was disabled. Update this to use target_disable to match the syntax in other CMake 3.0 paths.