Parcourir la source

Merge pull request #405 from kakwa/FIX_INCLUDE_DIR_OPENSSL

fix include directory for openssl
bel2125 il y a 8 ans
Parent
commit
30dc03d409
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)