I want to link something against the date_time library in boost. The comments in the FindBoost.cmake module imply that I <br>should be able to use something like ${Boost_date_time_LIBRARY}. But the variable is always empty for me.<br>
<br>Here is my code:<br>SET(Boost_USE_STATIC_LIBS ON)<br>SET(Boost_USE_MULTITHREADED ON)<br>FIND_PACKAGE(Boost 1.3.6 COMPONENTS date_time filesystem regex system)<br>MESSAGE("boost libs ${Boost_LIBRARIES}")<br>
MESSAGE("boost date_time: ${Boost_date_time_LIBRARY}, found: ${Boost_date_time_FOUND}")<br>MESSAGE("boost filesys: ${Boost_filesystem_LIBRARY}, found: ${Boost_filesystem_FOUND}")<br><br>And my output:<br>
boost libs /usr/local/lib/libboost_date_time-mt.dylib;/usr/local/lib/libboost_filesystem-mt.dylib;/usr/local/lib/libboost_regex-mt.dylib;/usr/local/lib/libboost_system-mt.dylib<br>boost date_time: , found: <br>boost filesys: , found: <br>
<br>Am I misunderstanding something?<br><br>Thanks,<br>Eric<br>