-Small fix to CMake files to report errors rather than produce errors