1 2# The command CMAKE_EXPORT_BUILD_SETTINGS(...) was used by 3# @PROJECT_NAME@ to generate this file. As of CMake 2.8 the 4# functionality of this command has been dropped as it was deemed 5# harmful (confusing users by changing their compiler). 6 7# CMake 2.6 and below do not support loading their equivalent of this 8# file if it was produced by a newer version of CMake. CMake 2.8 and 9# above simply do not load this file. Therefore we simply error out. 10message(FATAL_ERROR 11 "This @PROJECT_NAME@ was built by CMake @CMAKE_VERSION@, but this is CMake " 12 "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}. " 13 "Please upgrade CMake to a more recent version.") 14