Skip to content
This repository
Browse code

Update in-source build error message

  • Loading branch information...
commit 84207b2e0f14d2a8fd1ccc435b0c27f30b2ecce8 1 parent a334cdc
Jon jonforums authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 CMakeLists.txt
5 CMakeLists.txt
@@ -37,8 +37,9 @@ project(mruby C)
37 37 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT (MSVC_IDE OR XCODE))
38 38 message(FATAL_ERROR
39 39 "\nIn-source builds are not allowed as CMake would overwrite the "
40   - "Makefiles distributed with mruby. Please change to the 'build' "
41   - "subdirectory and run CMake from there.")
  40 + "Makefiles distributed with mruby. Delete any created 'CMakeFiles' "
  41 + "subdirectory and 'CMakeCache.txt' file from the current directory, "
  42 + "change to the 'build' subdirectory, and re-run CMake from there.")
42 43 endif()
43 44
44 45 if(COMMAND cmake_policy)

0 comments on commit 84207b2

Please sign in to comment.
Something went wrong with that request. Please try again.