SET(BOOST_LIBS ${BOOST_LIBS} ${BOOST_LIB_${name}})
ENDFOREACH(name thread date_time signals filesystem system)
ELSE(WINDOWS)
- FIND_LIBRARY(BOOST_LIB_THREAD boost_thread ${BOOST_LIB_PATHS})
- SET(BOOST_LIBS ${BOOST_LIBS} ${BOOST_LIB_THREAD})
+ FOREACH(name thread date_time signals filesystem system)
+ FIND_LIBRARY(BOOST_LIB_${name} boost_${name} PATHS ${BOOST_LIB_PATHS})
+ IF(NOT BOOST_LIB_${name})
+ SET(BOOST_STATUS 0)
+ ENDIF(NOT BOOST_LIB_${name})
+ SET(BOOST_LIBS ${BOOST_LIBS} ${BOOST_LIB_${name}})
+ ENDFOREACH(name thread date_time signals filesystem system)
ENDIF(WINDOWS)
ENDIF(BOOST_STATUS)