Changeset 19048


Ignore:
Timestamp:
07/12/18 14:33:27 (6 years ago)
Author:
tbretz
Message:
Added OpenSSL package (still to fail in case it is not found) and added ConnectionSSL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19023 r19048  
    117117FIND_PACKAGE(Cfitsio  REQUIRED)
    118118FIND_PACKAGE(CCfits   REQUIRED)
     119FIND_PACKAGE(OpenSSL  REQUIRED)  # Required for boost::asio::ssl
     120
     121FIND_PATH(OPENSSL_INCLUDE_DIRS NAMES openssl/conf.h PATHS ${OPENSSL_INCLUDE_DIR})
     122FIND_PACKAGE_HANDLE_STANDARD_ARGS(libssl-dev DEFAULT_MSG OPENSSL_INCLUDE_DIRS)
     123
    119124
    120125#INCLUDE_DIRECTORIES("/usr/include/mysql")
     
    132137MESSAGE(${NOVA_LIBRARY})
    133138MESSAGE(${READLINE_LIBRARY})
     139MESSAGE(${OPENSSL_SSL_LIBRARY})
    134140MESSAGE("")
    135141
     
    347353        src/Connection.h      src/Connection.cc
    348354        src/ConnectionUSB.h   src/ConnectionUSB.cc
     355        src/ConnectionSSL.h   src/ConnectionSSL.cc
    349356#       FACT.h ByteOrder.h
    350357        src/DimWriteStatistics.h src/DimWriteStatistics.cc)
     358TARGET_LINK_LIBRARIES(StateMachine OpenSSL::SSL)
    351359
    352360# ================= libConfiguration.so ==================
Note: See TracChangeset for help on using the changeset viewer.