From 65c53b941be83cc5edb6b0cb7b604259cae2d32f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 6 Jul 2021 02:14:33 +0200 Subject: [PATCH] WIP: conan --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 063015a..1f4ee9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,16 @@ message(STATUS "Build directory ${CMAKE_BINARY_DIR}") include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() +# fix grpc - remove unsecure (no-op ssl implementations) +string(REGEX REPLACE "grpc\\+?\\+?_unsecure" "" CONAN_LIBS_GRPC + "${CONAN_LIBS_GRPC}") +string(REGEX REPLACE "grpc\\+?\\+?_unsecure" "" CONAN_PKG_LIBS_GRPC + "${CONAN_PKG_LIBS_GRPC}") +string(REGEX REPLACE "grpc\\+?\\+?_unsecure" "" CONAN_LIBS + "${CONAN_LIBS}") +string(REGEX REPLACE "grpc\\+?\\+?_unsecure" "" CONAN_PKG_LIBS + "${CONAN_PKG_LIBS}") + ########################################### ### GENERAL SETUP of SOURCES ########################################### -- GitLab