[Bf-blender-cvs] [6b502731a50] master: CMake: print absolute CMakeCache.txt
Campbell Barton
noreply at git.blender.org
Thu Jun 15 23:37:09 CEST 2017
Commit: 6b502731a50d22d8d2b4efb81908ec0616a66d5d
Author: Campbell Barton
Date: Fri Jun 16 07:38:20 2017 +1000
Branches: master
https://developer.blender.org/rB6b502731a50d22d8d2b4efb81908ec0616a66d5d
CMake: print absolute CMakeCache.txt
Message didn't show the path of the file to remove
which could be confusing.
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66ee215864d..e7917278434 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
if(NOT DEFINED WITH_IN_SOURCE_BUILD)
message(FATAL_ERROR
"CMake generation for blender is not allowed within the source directory!"
- "\n Remove the CMakeCache.txt file and try again from another folder, e.g.:"
+ "\n Remove \"${CMAKE_SOURCE_DIR}/CMakeCache.txt\" and try again from another folder, e.g.:"
"\n "
"\n rm CMakeCache.txt"
"\n cd .."
More information about the Bf-blender-cvs
mailing list