pineapple-src/externals/vcpkg/ports/amqpcpp/find-openssl.patch

17 lines
483 B
Diff
Raw Normal View History

2022-07-23 01:01:36 +00:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 645bb32..3ef5c4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,11 @@ else()
add_library(${PROJECT_NAME} STATIC ${src_MAIN} ${src_LINUX_TCP})
endif()
+if(AMQP-CPP_LINUX_TCP)
+ find_path(OPENSSL_INCLUDE_DIR openssl/ssl.h)
+ include_directories(${OPENSSL_INCLUDE_DIR})
+endif()
+
# install rules
# ------------------------------------------------------------------------------------------------------