comparison Resources/CMake/BoostConfiguration.cmake @ 1362:bf6db7d2f8b1

fix slow DCMTK problem
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 May 2015 17:33:43 +0200
parents afaa55d42ddd
children 704de8c30ff5
comparison
equal deleted inserted replaced
1361:94ffb597d297 1362:bf6db7d2f8b1
102 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") 102 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
103 # This is a patch to compile Boost 1.55.0 with Clang 3.4 and later 103 # This is a patch to compile Boost 1.55.0 with Clang 3.4 and later
104 # (including XCode 5.1). Fixes issue 14 of Orthanc. 104 # (including XCode 5.1). Fixes issue 14 of Orthanc.
105 # https://trac.macports.org/ticket/42282#comment:10 105 # https://trac.macports.org/ticket/42282#comment:10
106 execute_process( 106 execute_process(
107 COMMAND patch -p0 -i ${ORTHANC_ROOT}/Resources/Patches/boost-1.55.0-clang-atomic.patch 107 COMMAND patch -p0 -N -i ${ORTHANC_ROOT}/Resources/Patches/boost-1.55.0-clang-atomic.patch
108 WORKING_DIRECTORY ${BOOST_SOURCES_DIR} 108 WORKING_DIRECTORY ${BOOST_SOURCES_DIR}
109 ) 109 )
110 endif() 110 endif()
111 111
112 aux_source_directory(${BOOST_SOURCES_DIR}/libs/regex/src BOOST_REGEX_SOURCES) 112 aux_source_directory(${BOOST_SOURCES_DIR}/libs/regex/src BOOST_REGEX_SOURCES)