From 11258b018d35071d1fbfc592113020a0a3b9b611 Mon Sep 17 00:00:00 2001 From: Artem Pikulin Date: Tue, 27 Mar 2018 18:40:19 +0700 Subject: [PATCH] Don't search and link for system installed nanomsg. Use static only. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 173fb54da..d75ce3e87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ download_project(PROJ nanomsg UPDATE_DISCONNECTED 1 ) -find_library(NANOMSG_LIBRARY NAMES nanomsg PATHS ${DEPS_INSTALL_PREFIX}/lib) +find_library(NANOMSG_LIBRARY NAMES nanomsg PATHS ${DEPS_INSTALL_PREFIX}/lib NO_DEFAULT_PATH) include_directories("${CMAKE_SOURCE_DIR}") add_subdirectory(cpp-ethereum) add_subdirectory(iguana/exchanges)