Permalink
Browse files

Update in-source build error message

  • Loading branch information...
1 parent a334cdc commit 84207b2e0f14d2a8fd1ccc435b0c27f30b2ecce8 @jonforums jonforums committed Jun 1, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 CMakeLists.txt
View
5 CMakeLists.txt
@@ -37,8 +37,9 @@ project(mruby C)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT (MSVC_IDE OR XCODE))
message(FATAL_ERROR
"\nIn-source builds are not allowed as CMake would overwrite the "
- "Makefiles distributed with mruby. Please change to the 'build' "
- "subdirectory and run CMake from there.")
+ "Makefiles distributed with mruby. Delete any created 'CMakeFiles' "
+ "subdirectory and 'CMakeCache.txt' file from the current directory, "
+ "change to the 'build' subdirectory, and re-run CMake from there.")
endif()
if(COMMAND cmake_policy)

0 comments on commit 84207b2

Please sign in to comment.