[Bf-blender-cvs] [19dec6c8a7c] master: Turn off WITH_COMPILER_SHORT_FILE_MACRO temporarily.

Ankit Meel noreply at git.blender.org
Mon Nov 2 11:16:10 CET 2020


Commit: 19dec6c8a7ce99079a4850c3e958130ec434705e
Author: Ankit Meel
Date:   Mon Nov 2 15:42:59 2020 +0530
Branches: master
https://developer.blender.org/rB19dec6c8a7ce99079a4850c3e958130ec434705e

Turn off WITH_COMPILER_SHORT_FILE_MACRO temporarily.

It's causing build errors on compilers that I don't have. Turn it off
while I fix them.

Added in {rB1daa3c3f0a1cfd74bef527e0207f38154e591d46}.

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c5ab607bf6..ab69048e205 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -571,7 +571,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
 endif()
 
 if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
-  option(WITH_COMPILER_SHORT_FILE_MACRO "Make paths in macros like __FILE__ relative to top level source and build directories." ON)
+  option(WITH_COMPILER_SHORT_FILE_MACRO "Make paths in macros like __FILE__ relative to top level source and build directories." OFF)
   mark_as_advanced(WITH_COMPILER_SHORT_FILE_MACRO)
 endif()



More information about the Bf-blender-cvs mailing list