mirror of https://github.com/tstack/lnav
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
315 B
CMake
11 lines
315 B
CMake
3 years ago
|
# ---- In-source guard ----
|
||
|
|
||
|
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
|
||
|
message(
|
||
|
FATAL_ERROR
|
||
|
"In-source builds are not supported. "
|
||
|
"Please read the BUILDING document before trying to build this project. "
|
||
|
"You may need to delete 'CMakeCache.txt' and 'CMakeFiles/' first."
|
||
|
)
|
||
|
endif()
|