aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-30 20:27:53 +0200
committerDamjan Marion <damarion@cisco.com>2021-04-30 20:30:16 +0200
commit3648d93b9888f4d91e2fc5fa61018c4310adc86f (patch)
treef876bc76a8ed5709e78d1f01e5ff9b0083721823 /src/cmake/library.cmake
parent88b2e3682be6303973fc59c3c62141d64a9e10d7 (diff)
build: declare some CMake variables as advanced
Type: make Change-Id: I780c1c81a50cb92bc89c05856efd8ef88479c0ab Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake/library.cmake')
-rw-r--r--src/cmake/library.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index 37239f3d680..5a7d2cdfef7 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -136,3 +136,12 @@ macro(add_vpp_test_library lib)
# )
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()