From 930f765f485eb4b3926863fb4d9abd6b0a2b6caa Mon Sep 17 00:00:00 2001 From: Jang Jiseob Date: Fri, 8 Sep 2023 22:07:14 +0900 Subject: [PATCH] [infra/nnfw] Disable default path when finding luci lib (#11514) This commit disables default path when finding luci libraries. ONE-DCO-1.0-Signed-off-by: ragmani --- infra/nnfw/cmake/packages/LuciConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/nnfw/cmake/packages/LuciConfig.cmake b/infra/nnfw/cmake/packages/LuciConfig.cmake index 426556b3ab0..b54bf363187 100644 --- a/infra/nnfw/cmake/packages/LuciConfig.cmake +++ b/infra/nnfw/cmake/packages/LuciConfig.cmake @@ -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()