comparison Resources/CMake/BoostConfiguration.cmake @ 2192:61ab5fa36754 Orthanc-0.5.1

hotfix in release 0.5.1 to properly download dependencies
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 Dec 2016 13:04:38 +0100
parents a1b9d1e1497b
children
comparison
equal deleted inserted replaced
379:69920b9875a3 2192:61ab5fa36754
39 39
40 40
41 if (BOOST_STATIC) 41 if (BOOST_STATIC)
42 SET(BOOST_NAME boost_1_49_0) 42 SET(BOOST_NAME boost_1_49_0)
43 SET(BOOST_SOURCES_DIR ${CMAKE_BINARY_DIR}/${BOOST_NAME}) 43 SET(BOOST_SOURCES_DIR ${CMAKE_BINARY_DIR}/${BOOST_NAME})
44 DownloadPackage("http://switch.dl.sourceforge.net/project/boost/boost/1.49.0/${BOOST_NAME}.tar.gz" "${BOOST_SOURCES_DIR}" "${BOOST_PRELOADED}" "${BOOST_NAME}/boost ${BOOST_NAME}/libs/thread/src ${BOOST_NAME}/libs/system/src ${BOOST_NAME}/libs/filesystem/v3/src ${BOOST_NAME}/libs/locale/src ${BOOST_NAME}/libs/date_time/src") 44 DownloadPackage("http://www.orthanc-server.com/downloads/third-party/${BOOST_NAME}.tar.gz" "${BOOST_SOURCES_DIR}" "${BOOST_PRELOADED}" "${BOOST_NAME}/boost ${BOOST_NAME}/libs/thread/src ${BOOST_NAME}/libs/system/src ${BOOST_NAME}/libs/filesystem/v3/src ${BOOST_NAME}/libs/locale/src ${BOOST_NAME}/libs/date_time/src")
45 45
46 set(BOOST_SOURCES) 46 set(BOOST_SOURCES)
47 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 47 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
48 list(APPEND BOOST_SOURCES 48 list(APPEND BOOST_SOURCES
49 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp 49 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp