diff options
Diffstat (limited to 'ctrl/sysrepo-plugins/cmake/FindHicnLight.cmake')
-rw-r--r-- | ctrl/sysrepo-plugins/cmake/FindHicnLight.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrl/sysrepo-plugins/cmake/FindHicnLight.cmake b/ctrl/sysrepo-plugins/cmake/FindHicnLight.cmake index bce3265fa..7883b09dd 100644 --- a/ctrl/sysrepo-plugins/cmake/FindHicnLight.cmake +++ b/ctrl/sysrepo-plugins/cmake/FindHicnLight.cmake @@ -18,15 +18,15 @@ set(HICNLIGHT_SEARCH_PATH_LIST /usr ) -find_path(HICNLIGHT_INCLUDE_DIR hicn/api/api.h +find_path(HICNLIGHT_INCLUDE_DIR hicn/ctrl/api.h HINTS ${HICNLIGHT_SEARCH_PATH_LIST} PATH_SUFFIXES include DOC "Find the hicn plugin includes" ) -find_library(HICNLIGHT_LIBRARY NAMES libhicn-light-ctrl.so +find_library(HICNLIGHT_LIBRARY NAMES libhicnctrl.so HINTS ${HICNLIGHT_SEARCH_PATH_LIST} - PATH_SUFFIXES lib + PATH_SUFFIXES lib/x86_64-linux-gnu/ DOC "Find the hicn light lib" ) |