diff options
-rw-r--r-- | Modules/Findosg_functions.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
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() |