comparison Resources/CMake/BoostConfiguration.cmake @ 917:312d04beb0a2 mac

branch for mac os build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Feb 2014 15:10:30 +0100
parents b8322fe3bdba
children ac8f68cbdbb6
comparison
equal deleted inserted replaced
729:948720c72586 917:312d04beb0a2
51 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/${BOOST_NAME}_${BOOST_BCP_SUFFIX}.tar.gz" 51 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/${BOOST_NAME}_${BOOST_BCP_SUFFIX}.tar.gz"
52 "${BOOST_SOURCES_DIR}" 52 "${BOOST_SOURCES_DIR}"
53 ) 53 )
54 54
55 set(BOOST_SOURCES) 55 set(BOOST_SOURCES)
56 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 56 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
57 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
57 list(APPEND BOOST_SOURCES 58 list(APPEND BOOST_SOURCES
58 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp 59 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp
59 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/thread.cpp 60 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/thread.cpp
60 ) 61 )
61 add_definitions( 62 add_definitions(