ENH: Added a mark_as_advanced() wrapper function.

This commit is contained in:
Philip Lowman 2009-01-30 14:29:26 -05:00
parent 25325c8f4d
commit 6ccd60dee3
1 changed files with 10 additions and 0 deletions

View File

@ -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()