Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/Resources/CMake/BoostConfiguration.cmake Mon Feb 24 13:50:40 2014 +0100 +++ b/Resources/CMake/BoostConfiguration.cmake Mon Feb 24 15:10:30 2014 +0100 @@ -53,7 +53,8 @@ ) set(BOOST_SOURCES) - if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") + if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR + ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") list(APPEND BOOST_SOURCES ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/thread.cpp