instruction to remove CMakeCache.txt for out-of-source build

This commit is contained in:
Mark Borgerding 2009-12-01 17:39:29 -05:00
parent 0e8cd8de4d
commit d1e06721a2

View File

@ -3,7 +3,7 @@ project(Eigen)
cmake_minimum_required(VERSION 2.6.2) cmake_minimum_required(VERSION 2.6.2)
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.") message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there. (you may need to remove CMakeCache.txt ")
endif() endif()
# automatically parse the version number # automatically parse the version number