gcontini
2019-12-01 3a480a3fb9c8ab9943d47239ad21df2ed9a87eb7
CMakeLists.txt
@@ -63,11 +63,13 @@
   add_definitions(-DHAS_OPENSSL)
   include_directories(${OPENSSL_INCLUDE_DIR})
   MESSAGE(STATUS "Found openssl version ${OPENSSL_VERSION} ")
ELSE(OPENSSL_FOUND)
   MESSAGE(STATUS "OpenSSL not found")
ENDIF(OPENSSL_FOUND)
if(UNIX) #this is true for all the linux systems but not for cross compiling "linux->windows"
   IF(NOT OPENSSL_FOUND)
      MESSAGE(SEND_ERROR "Openssl not found - required in Linux")
      MESSAGE(SEND_ERROR "Openssl required in Linux, please install it or specify -DOPENSSL_ROOT")
   ENDIF(NOT OPENSSL_FOUND)
   
    find_package(Threads)