Explorar o código

Merge pull request #405 from kakwa/FIX_INCLUDE_DIR_OPENSSL

fix include directory for openssl
bel2125 %!s(int64=8) %!d(string=hai) anos
pai
achega
30dc03d409
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -40,6 +40,7 @@ endif()
 
 # We need to link OpenSSL if not dynamically loading
 if (CIVETWEB_ENABLE_SSL)
+  include_directories(${OPENSSL_INCLUDE_DIR})
   if (CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING)
     find_package(LibDl)
     if (LIBDL_FOUND)