mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
instruction to remove CMakeCache.txt for out-of-source build
This commit is contained in:
parent
0e8cd8de4d
commit
d1e06721a2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user