comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2392:a88c3ea0c96d

getting rid of the OpenSSL static library
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Aug 2017 13:11:37 +0200
parents 233d6eeef799
children 9496ca5b25ac
comparison
equal deleted inserted replaced
2391:233d6eeef799 2392:a88c3ea0c96d
114 if (ENABLE_PKCS11) 114 if (ENABLE_PKCS11)
115 if (ENABLE_SSL) 115 if (ENABLE_SSL)
116 include(${CMAKE_CURRENT_LIST_DIR}/LibP11Configuration.cmake) 116 include(${CMAKE_CURRENT_LIST_DIR}/LibP11Configuration.cmake)
117 117
118 add_definitions(-DORTHANC_ENABLE_PKCS11=1) 118 add_definitions(-DORTHANC_ENABLE_PKCS11=1)
119 list(APPEND ORTHANC_CORE_SOURCES 119 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL
120 ${ORTHANC_ROOT}/Core/Pkcs11.cpp 120 ${ORTHANC_ROOT}/Core/Pkcs11.cpp
121 ) 121 )
122 else() 122 else()
123 message(FATAL_ERROR "OpenSSL is required to enable PKCS#11 support") 123 message(FATAL_ERROR "OpenSSL is required to enable PKCS#11 support")
124 endif() 124 endif()
398 398
399 ##################################################################### 399 #####################################################################
400 ## Gathering of all the source code 400 ## Gathering of all the source code
401 ##################################################################### 401 #####################################################################
402 402
403 # The "xxx_INTERNAL" variables list the source code that belongs to
404 # the Orthanc project. It can be used to configure precompiled headers
405 # if using Microsoft Visual Studio.
406
407 # The "xxx_DEPENDENCIES" variables list the source code coming from
408 # third-party dependencies.
409
410
403 set(ORTHANC_CORE_SOURCES_DEPENDENCIES 411 set(ORTHANC_CORE_SOURCES_DEPENDENCIES
404 ${BOOST_SOURCES} 412 ${BOOST_SOURCES}
405 ${CIVETWEB_SOURCES} 413 ${CIVETWEB_SOURCES}
406 ${CURL_SOURCES} 414 ${CURL_SOURCES}
407 ${JSONCPP_SOURCES} 415 ${JSONCPP_SOURCES}