From af4dac6fedb85a23364d711a98b44ff9cc445d6c Mon Sep 17 00:00:00 2001 From: Mario Liebisch Date: Wed, 25 Feb 2015 10:46:37 +0100 Subject: [PATCH] Marked the FLAC/Vorbis/Ogg variables as advanced --- cmake/Modules/FindFLAC.cmake | 2 ++ cmake/Modules/FindVorbis.cmake | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cmake/Modules/FindFLAC.cmake b/cmake/Modules/FindFLAC.cmake index e139e62f..e820cf9d 100644 --- a/cmake/Modules/FindFLAC.cmake +++ b/cmake/Modules/FindFLAC.cmake @@ -14,3 +14,5 @@ find_library(FLAC_LIBRARY NAMES FLAC) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(FLAC DEFAULT_MSG FLAC_LIBRARY FLAC_INCLUDE_DIR) + +mark_as_advanced(FLAC_INCLUDE_DIR FLAC_LIBRARY) diff --git a/cmake/Modules/FindVorbis.cmake b/cmake/Modules/FindVorbis.cmake index 73190b1d..645bba76 100644 --- a/cmake/Modules/FindVorbis.cmake +++ b/cmake/Modules/FindVorbis.cmake @@ -20,3 +20,5 @@ find_package_handle_standard_args(VORBIS DEFAULT_MSG VORBIS_LIBRARY VORBISFILE_L set(VORBIS_INCLUDE_DIRS ${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR}) set(VORBIS_LIBRARIES ${VORBISENC_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY}) + +mark_as_advanced(OGG_INCLUDE_DIR VORBIS_INCLUDE_DIR OGG_LIBRARY VORBIS_LIBRARY VORBISFILE_LIBRARY VORBISENC_LIBRARY)