<br><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 2:17 PM, James C. Sutherland <span dir="ltr">&lt;<a href="mailto:James.Sutherland@utah.edu">James.Sutherland@utah.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">&gt;<br>
&gt; include_directories(<br>
&gt;       boost/src<br>
&gt;       boost/build/lib/Exports.cmake<br>
&gt;       )<br>
&gt;<br>
</div>I think that you want<br>
<br>
        include( boost/build/lib/Exports.cmake )<br>
<br>
instead.  Also, you will need to specify the full path to the boost directory.<br clear="all"></blockquote></div><br><br>Why not just let the user decide where they&#39;d like to get boost, and simplify your build system by just using find_package(Boost)?<br>
<br>For example, this is all you need for a simple boost-using app...<br><br>find_package(Boost 1.34.0 REQUIRED COMPONENTS filesystem system)<br>include_directories(${Boost_INCLUDE_DIR})<br>add_executable(yourapp yourapp.cpp)<br>
target_link_libraries(yourapp ${Boost_LIBRARIES})<br><br><br>-- <br>Ryan Pavlik<br>HCI Graduate Student<br>Virtual Reality Applications Center<br>Iowa State University<br><br><a href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a><br>
<a href="http://academic.cleardefinition.com">http://academic.cleardefinition.com</a><br>Internal VRAC/HCI Site: <a href="http://tinyurl.com/rpavlik">http://tinyurl.com/rpavlik</a><br>