mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Rewrite the warning (and thus add more hand-holding) regarding the "insourcetree build warning" when attempting a build directly in sourcetree.
Adds additional information on how to actually "unlock" the sourcetree again after an attempt to build in the sourcetree has been made. --HG-- branch : trunk
This commit is contained in:
@@ -12,7 +12,7 @@ include(cmake/PCH.cmake)
|
||||
# Force out-of-source build
|
||||
string(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" BUILDING_IN_SOURCE)
|
||||
if(BUILDING_IN_SOURCE)
|
||||
message(FATAL_ERROR "This project requires an out of source build. Please create a separate build directory and run 'cmake path_to_project [options]' there.")
|
||||
message(FATAL_ERROR "This project requires an out of source build. Remove the file 'CMakeCache.txt' found in this directory before continuing, and create a separate build directory and run 'cmake path_to_project [options]' from there.")
|
||||
endif(BUILDING_IN_SOURCE)
|
||||
|
||||
# Select the Release build configuration by default.
|
||||
|
||||
Reference in New Issue
Block a user