diff --git a/CMakeLists.txt b/CMakeLists.txt index 063015ac36bd17bcee0661003f13fae349abbde2..1f4ee9a1576674b4a3151c992e275ba177506218 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 ###########################################