From 6ccd60dee340252fa55937a5d7360585e18315d3 Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Fri, 30 Jan 2009 14:29:26 -0500 Subject: ENH: Added a mark_as_advanced() wrapper function. --- Modules/Findosg_functions.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Modules/Findosg_functions.cmake b/Modules/Findosg_functions.cmake index c4af81a..65ad03d 100644 --- a/Modules/Findosg_functions.cmake +++ b/Modules/Findosg_functions.cmake @@ -88,3 +88,13 @@ function(OSG_FIND_LIBRARY module library) 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() -- cgit v0.12