comparison Resources/CMake/BoostConfiguration.cmake @ 920:5b63440f5164 mac

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Feb 2014 16:18:35 +0100
parents ac8f68cbdbb6
children 37aec47f49f0
comparison
equal deleted inserted replaced
919:637cb73152dd 920:5b63440f5164
80 80
81 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") 81 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
82 list(APPEND BOOST_SOURCES 82 list(APPEND BOOST_SOURCES
83 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp 83 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp
84 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/thread.cpp 84 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/thread.cpp
85 ${BOOST_SOURCES_DIR}/libs/filesystem/src/utf8_codecvt_facet.cpp
85 ) 86 )
86 87
87 aux_source_directory(${BOOST_SOURCES_DIR}/libs/locale/src/posix BOOST_SOURCES) 88 aux_source_directory(${BOOST_SOURCES_DIR}/libs/locale/src/posix BOOST_SOURCES)
88 89
89 else() 90 else()
102 ${BOOST_SOURCES_DIR}/libs/locale/src/encoding/codepage.cpp 103 ${BOOST_SOURCES_DIR}/libs/locale/src/encoding/codepage.cpp
103 ${BOOST_SOURCES_DIR}/libs/system/src/error_code.cpp 104 ${BOOST_SOURCES_DIR}/libs/system/src/error_code.cpp
104 ) 105 )
105 106
106 if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") 107 if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
107 list(REMOVE_ITEM BOOST_SOURCES 108 # list(REMOVE_ITEM BOOST_SOURCES
108 ${BOOST_SOURCES_DIR}/libs/locale/src/encoding/codepage.cpp 109 # ${BOOST_SOURCES_DIR}/libs/locale/src/encoding/codepage.cpp
109 ) 110 # )
110 endif() 111 endif()
111 112
112 list(APPEND THIRD_PARTY_SOURCES ${BOOST_SOURCES}) 113 list(APPEND THIRD_PARTY_SOURCES ${BOOST_SOURCES})
113 114
114 add_definitions( 115 add_definitions(