From 74903d49a72232068b330a78a79f0997072cd7d1 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Thu, 24 Dec 2020 01:13:51 +0100
Subject: [PATCH] cmake: Mark checklib variables as advanced
---
cmake/common/utils.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmake/common/utils.cmake b/cmake/common/utils.cmake
index f2ce489f..973e85c9 100644
--- a/cmake/common/utils.cmake
+++ b/cmake/common/utils.cmake
@@ -138,6 +138,7 @@ function(checklib flag type pkg)
else()
message(FATAL_ERROR "Invalid lookup type '${type}'")
endif()
+ mark_as_advanced(${flag})
endif()
endfunction()