comparison CMakeLists.txt @ 1854:e2c3d752ee1a

prevent too long tags to be inserted
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Dec 2015 15:43:23 +0100
parents 9c2ffc4e938b
children 2684ded7c7b3
comparison
equal deleted inserted replaced
1853:b7d3d3b182cf 1854:e2c3d752ee1a
374 374
375 add_definitions( 375 add_definitions(
376 -DORTHANC_VERSION="${ORTHANC_VERSION}" 376 -DORTHANC_VERSION="${ORTHANC_VERSION}"
377 -DORTHANC_DATABASE_VERSION=${ORTHANC_DATABASE_VERSION} 377 -DORTHANC_DATABASE_VERSION=${ORTHANC_DATABASE_VERSION}
378 -DORTHANC_ENABLE_LOGGING=1 378 -DORTHANC_ENABLE_LOGGING=1
379 -DORTHANC_MAXIMUM_TAG_LENGTH=256
379 ) 380 )
380 381
381 list(LENGTH OPENSSL_SOURCES OPENSSL_SOURCES_LENGTH) 382 list(LENGTH OPENSSL_SOURCES OPENSSL_SOURCES_LENGTH)
382 if (${OPENSSL_SOURCES_LENGTH} GREATER 0) 383 if (${OPENSSL_SOURCES_LENGTH} GREATER 0)
383 add_library(OpenSSL STATIC ${OPENSSL_SOURCES}) 384 add_library(OpenSSL STATIC ${OPENSSL_SOURCES})