[Cmake-commits] [cmake-commits] lowman committed Findosg_functions.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jan 30 14:29:28 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv28382

Modified Files:
	Findosg_functions.cmake 
Log Message:
ENH: Added a mark_as_advanced() wrapper function.


Index: Findosg_functions.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Findosg_functions.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** Findosg_functions.cmake	19 Jan 2009 18:33:36 -0000	1.1
--- Findosg_functions.cmake	30 Jan 2009 19:29:26 -0000	1.2
***************
*** 89,90 ****
--- 89,100 ----
  
  endfunction(OSG_FIND_LIBRARY module library)
+ 
+ #
+ # OSG_MARK_AS_ADVANCED
+ # Just a convenience function for calling MARK_AS_ADVANCED
+ #
+ function(OSG_MARK_AS_ADVANCED module)
+    mark_as_advanced(${module}_INCLUDE_DIR)
+    mark_as_advanced(${module}_LIBRARY)
+    mark_as_advanced(${module}_LIBRARY_DEBUG)
+ endfunction()



More information about the Cmake-commits mailing list