summaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
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()