[Bf-blender-cvs] [60c5887] master: CMake: mark vars as advanced

Campbell Barton noreply at git.blender.org
Mon May 5 22:05:46 CEST 2014


Commit: 60c5887fe8efcb88cadad5a06f955542d35e7270
Author: Campbell Barton
Date:   Tue May 6 06:03:52 2014 +1000
https://developer.blender.org/rB60c5887fe8efcb88cadad5a06f955542d35e7270

CMake: mark vars as advanced

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

M	CMakeLists.txt
M	build_files/cmake/Modules/FindOpenEXR.cmake

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37cabd0..0b3874c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -820,6 +820,7 @@ if(UNIX AND NOT APPLE)
 							OUTPUT_VARIABLE LLVM_LIBPATH
 							OUTPUT_STRIP_TRAILING_WHITESPACE)
 			set(LLVM_LIBPATH ${LLVM_LIBPATH} CACHE PATH "Path to the LLVM library path")
+			mark_as_advanced(LLVM_LIBPATH)
 		endif()
 
 		if(LLVM_STATIC)
diff --git a/build_files/cmake/Modules/FindOpenEXR.cmake b/build_files/cmake/Modules/FindOpenEXR.cmake
index 547f3e0..7190cfc 100644
--- a/build_files/cmake/Modules/FindOpenEXR.cmake
+++ b/build_files/cmake/Modules/FindOpenEXR.cmake
@@ -126,7 +126,10 @@ IF(OPENEXR_FOUND)
   SET(OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR} ${OPENEXR_INCLUDE_DIR}/OpenEXR)
 ENDIF()
 
-MARK_AS_ADVANCED(OPENEXR_INCLUDE_DIR)
+MARK_AS_ADVANCED(
+  OPENEXR_INCLUDE_DIR
+  OPENEXR_VERSION
+)
 FOREACH(COMPONENT ${_openexr_FIND_COMPONENTS})
   STRING(TOUPPER ${COMPONENT} UPPERCOMPONENT)
   MARK_AS_ADVANCED(OPENEXR_${UPPERCOMPONENT}_LIBRARY)




More information about the Bf-blender-cvs mailing list