Mercurial > hg > orthanc
comparison Resources/CMake/BoostConfiguration.cmake @ 1096:44f139b62108
patch for XCode 5.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Aug 2014 16:13:33 +0200 |
parents | 1b905ad6c913 |
children | f16f5a8df647 |
comparison
equal
deleted
inserted
replaced
1095:ed5069aa1f50 | 1096:44f139b62108 |
---|---|
93 list(APPEND BOOST_SOURCES | 93 list(APPEND BOOST_SOURCES |
94 ${BOOST_SOURCES_DIR}/libs/filesystem/src/utf8_codecvt_facet.cpp | 94 ${BOOST_SOURCES_DIR}/libs/filesystem/src/utf8_codecvt_facet.cpp |
95 ) | 95 ) |
96 endif() | 96 endif() |
97 | 97 |
98 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") | |
99 # This is a patch to compile Boost 1.55.0 with Clang 3.4 and later | |
100 # (including XCode 5.1). Fixes issue 14 of Orthanc. | |
101 # https://trac.macports.org/ticket/42282#comment:10 | |
102 execute_process( | |
103 COMMAND patch -p0 -i ${ORTHANC_ROOT}/Resources/Patches/boost-1.55.0-clang-atomic.patch | |
104 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} | |
105 ) | |
106 endif() | |
107 | |
98 aux_source_directory(${BOOST_SOURCES_DIR}/libs/regex/src BOOST_REGEX_SOURCES) | 108 aux_source_directory(${BOOST_SOURCES_DIR}/libs/regex/src BOOST_REGEX_SOURCES) |
99 | 109 |
100 list(APPEND BOOST_SOURCES | 110 list(APPEND BOOST_SOURCES |
101 ${BOOST_REGEX_SOURCES} | 111 ${BOOST_REGEX_SOURCES} |
102 ${BOOST_SOURCES_DIR}/libs/date_time/src/gregorian/greg_month.cpp | 112 ${BOOST_SOURCES_DIR}/libs/date_time/src/gregorian/greg_month.cpp |