From f009e768744abad5ee2343aaa5c54ee0d7cf6bb1 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Thu, 19 Aug 2021 13:54:56 -0400 Subject: [PATCH] Fix required library check --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 665e29c..b4e38a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ if (NOT (Boost_THREAD_LIBRARY STREQUAL monero_Boost_THREAD_LIBRARY_RELEASE)) endif() foreach (LIB ${MONERO_LIBRARIES}) - find_library(LIB_PATH NAMES "${LIB}" PATHS ${MONERO_BUILD_DIR} PATH_SUFFIXES "/src/${LIB}" "external/${LIB}" ${MONERO_SEARCH_PATHS} REQUIRED NO_DEFAULT_PATH) + find_library(LIB_PATH NAMES "${LIB}" PATHS ${MONERO_BUILD_DIR} PATH_SUFFIXES "/src/${LIB}" "external/${LIB}" ${MONERO_SEARCH_PATHS} NO_DEFAULT_PATH) list(FIND MONERO_OPTIONAL "${LIB}" LIB_OPTIONAL) if (NOT LIB_PATH)