build: declare some CMake variables as advanced
Type: make
Change-Id: I780c1c81a50cb92bc89c05856efd8ef88479c0ab
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index 37239f3..5a7d2cd 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -136,3 +136,12 @@
# )
endforeach()
endmacro()
+
+macro(vpp_find_library var)
+ find_library(${var} ${ARGN})
+ mark_as_advanced(${var})
+endmacro()
+macro(vpp_find_path var)
+ find_path(${var} ${ARGN})
+ mark_as_advanced(${var})
+endmacro()