Commit bf7cd0dd authored by Tom Finegan's avatar Tom Finegan

cmake: Update in-tree build hint.

Add command to remove CMake outputs that will cause problems
after moving to a new directory.

BUG=aomedia:1217

Change-Id: Ia485772d907b7cb6b84d948f288dc0ce24802499
parent d621f9bb
......@@ -57,8 +57,11 @@ set(AOM_CONFIG_DIR "${CMAKE_CURRENT_BINARY_DIR}")
if ("${AOM_ROOT}" STREQUAL "${AOM_CONFIG_DIR}")
message(FATAL_ERROR
"Building from within the aom source tree is not supported.\n"
"Hint: mkdir -p ../aom_build && cd ../aom_build\n"
"Run cmake from there.")
"Hint: Run these commands\n"
"$ rm -rf CMakeCache.txt CMakeFiles\n"
"$ mkdir -p ../aom_build\n"
"$ cd ../aom_build\n"
"And re-run CMake from the aom_build directory.")
endif ()
include("${AOM_ROOT}/build/cmake/aom_configure.cmake")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment