diff --git a/CMakeLists.txt b/CMakeLists.txt index 73db7846fc..fcdeeca8fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -610,6 +610,7 @@ if(POLARSSL_FOUND AND POLARSSL_WORKS) include_directories(${POLARSSL_INCLUDE_DIR}) else() message("Using PolarSSL from Externals") + set(POLARSSL_LIBRARY polarssl) add_subdirectory(Externals/polarssl/) include_directories(Externals/polarssl/include) endif()