summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindHicnPlugin.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/FindHicnPlugin.cmake')
-rw-r--r--cmake/Modules/FindHicnPlugin.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/Modules/FindHicnPlugin.cmake b/cmake/Modules/FindHicnPlugin.cmake
index b9d1b1099..0e67e22d8 100644
--- a/cmake/Modules/FindHicnPlugin.cmake
+++ b/cmake/Modules/FindHicnPlugin.cmake
@@ -12,6 +12,7 @@
# limitations under the License.
set(HICNPLUGIN_SEARCH_PATH_LIST
+ ${VPP_SEARCH_PATH_LIST}
${HICNPLUGIN_HOME}
$ENV{HICNPLUGIN_HOME}
/usr/local
@@ -26,9 +27,9 @@ find_path(HICNPLUGIN_INCLUDE_DIR vapi/hicn.api.vapi.h
)
-set(HICNPLUGIN_INCLUDE_DIRS ${HICNPLUGIN_INCLUDE_DIR})
+set(HICNPLUGIN_INCLUDE_DIRS ${HICNPLUGIN_INCLUDE_DIR} ${HICNPLUGIN_INCLUDE_DIR}/vpp_plugins)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(HicnPlugin DEFAULT_MSG HICNPLUGIN_INCLUDE_DIRS)
-mark_as_advanced(HICNPLUGIN_INCLUDE_DIR)
+mark_as_advanced(HICNPLUGIN_INCLUDE_DIR) \ No newline at end of file