Mercurial > hg > orthanc
changeset 109:8c0a5666b05f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Oct 2012 11:50:44 +0200 |
parents | a6e41de88a53 |
children | fd7b0a3e6260 |
files | Resources/CMake/BoostConfiguration.cmake Resources/CMake/DcmtkConfiguration.cmake |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/BoostConfiguration.cmake Thu Oct 04 11:37:56 2012 +0200 +++ b/Resources/CMake/BoostConfiguration.cmake Thu Oct 04 11:50:44 2012 +0200 @@ -4,7 +4,7 @@ include(FindBoost) SET(BOOST_STATIC 0) - set(Boost_DEBUG 1) + #set(Boost_DEBUG 1) #set(Boost_USE_STATIC_LIBS ON) find_package(Boost
--- a/Resources/CMake/DcmtkConfiguration.cmake Thu Oct 04 11:37:56 2012 +0200 +++ b/Resources/CMake/DcmtkConfiguration.cmake Thu Oct 04 11:50:44 2012 +0200 @@ -68,6 +68,9 @@ -DHAVE_CONFIG_H=1 ) + if (NOT EXISTS "${DCMTK_DIR}/config/cfunix.h") + message(FATAL_ERROR "Please install libdcmtk1-dev") + endif() # Autodetection of the version of DCMTK file(STRINGS "${DCMTK_DIR}/config/cfunix.h" DCMTK_VERSION_NUMBER1