From cd7bdab2cc89c64dada60b8d7e1251f0de94a7a7 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Fri, 15 Jan 2021 15:43:06 +0000 Subject: [PATCH] addiing link directory as cmake would find pistache --- cmake/ExternalProjects.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/ExternalProjects.cmake b/cmake/ExternalProjects.cmake index b494689ba..37c4609d2 100644 --- a/cmake/ExternalProjects.cmake +++ b/cmake/ExternalProjects.cmake @@ -30,6 +30,7 @@ set(PROTOC_EXE /usr/local/bin/protoc) set(GRPC_PLUGIN /usr/local/bin/grpc_cpp_plugin) # Pistache +link_directories(${CMAKE_INSTALL_PREFIX}/lib) ExternalProject_Add(pistache_ext GIT_REPOSITORY "https://github.com/oktal/pistache.git" GIT_TAG "2ef937c434810858e05d446e97acbdd6cc1a5a36"