diff options
author | Damjan Marion <damarion@cisco.com> | 2021-04-30 20:27:53 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2021-04-30 20:30:16 +0200 |
commit | 3648d93b9888f4d91e2fc5fa61018c4310adc86f (patch) | |
tree | f876bc76a8ed5709e78d1f01e5ff9b0083721823 /src/cmake | |
parent | 88b2e3682be6303973fc59c3c62141d64a9e10d7 (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')
-rw-r--r-- | src/cmake/library.cmake | 9 | ||||
-rw-r--r-- | src/cmake/plugin.cmake | 1 |
2 files changed, 10 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() diff --git a/src/cmake/plugin.cmake b/src/cmake/plugin.cmake index 9b0383f583d..536ae9c318a 100644 --- a/src/cmake/plugin.cmake +++ b/src/cmake/plugin.cmake @@ -115,6 +115,7 @@ endmacro() macro(vpp_plugin_find_library plugin var name) find_library(${var} NAMES ${name} ${ARGN}) + mark_as_advanced(${var}) if (NOT ${var}) message(WARNING "-- ${name} library not found - ${plugin} plugin disabled") return() |