Skip to content

Commit

Permalink
[infra/nnfw] Disable default path when finding luci lib (#11514)
Browse files Browse the repository at this point in the history
This commit disables default path when finding luci libraries.

ONE-DCO-1.0-Signed-off-by: ragmani <[email protected]>
  • Loading branch information
ragmani authored Sep 8, 2023
1 parent c457381 commit 930f765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/nnfw/cmake/packages/LuciConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ find_path(LUCI_HEADERS

macro(_load_library LUCI_NAME)
add_library(luci::${LUCI_NAME} SHARED IMPORTED)
find_library(LUCI_LIB_PATH_${LUCI_NAME} NAMES luci_${LUCI_NAME} PATHS ${EXT_OVERLAY_DIR}/lib)
find_library(LUCI_LIB_PATH_${LUCI_NAME} NAMES luci_${LUCI_NAME} PATHS ${EXT_OVERLAY_DIR}/lib NO_DEFAULT_PATH)
if (NOT LUCI_LIB_PATH_${LUCI_NAME})
return()
endif()
Expand Down

0 comments on commit 930f765

Please sign in to comment.