Browse Source

Merge pull request #405 from kakwa/FIX_INCLUDE_DIR_OPENSSL

fix include directory for openssl
bel2125 8 years ago
parent
commit
30dc03d409
1 changed files with 1 additions and 0 deletions
  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)