Bladeren bron

Merge pull request #1255 from darkuranium/master

Fix building with MbedTLS
bel2125 1 jaar geleden
bovenliggende
commit
88dad2f6ef
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/CMakeLists.txt

+ 2 - 2
src/CMakeLists.txt

@@ -47,10 +47,10 @@ endif()
 
 
 # We need to link OpenSSL if not dynamically loading
 # We need to link OpenSSL if not dynamically loading
 if (CIVETWEB_ENABLE_SSL)
 if (CIVETWEB_ENABLE_SSL)
-  if (CIVETWEB_ENBALE_MBEDTLS)
+  if (CIVETWEB_ENABLE_MBEDTLS)
     find_package(MbedTLS)
     find_package(MbedTLS)
     include_directories(${MbedTLS_INCLUDE_DIR})
     include_directories(${MbedTLS_INCLUDE_DIR})
-    message(STATUS "MbedTLS include directory: {MbedTLS_INCLUDE_DIR}")
+    message(STATUS "MbedTLS include directory: ${MbedTLS_INCLUDE_DIR}")
     target_link_libraries(civetweb-c-library ${MbedTLS_LIBRARIES})
     target_link_libraries(civetweb-c-library ${MbedTLS_LIBRARIES})
   else()
   else()
     if (CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING)
     if (CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING)