Merge pull request #2694 from Tilka/polarssl

CMake: fix PolarSSL test
This commit is contained in:
flacs 2015-07-04 00:34:25 +02:00
commit ced30899cc

View File

@ -34,6 +34,7 @@ if (POLARSSL_FOUND)
set(CMAKE_REQUIRED_LIBRARIES ${POLARSSL_LIBRARY})
unset(POLARSSL_WORKS CACHE)
check_cxx_source_compiles("
#include <cstring>
#include <polarssl/ctr_drbg.h>
#include <polarssl/entropy.h>
#include <polarssl/net.h>