How can I get cmake to find my boost installation
Posted
by BD at Rivenhill
on Stack Overflow
See other posts from Stack Overflow
or by BD at Rivenhill
Published on 2010-06-10T16:39:03Z
Indexed on
2010/06/10
16:42 UTC
Read the original article
Hit count: 156
I have installed the most recent version of boost in /usr/local (with includes in /usr/local/boost and libraries in /usr/local/lib/boost) and I am now attempting to install Wt from source, but cmake (version 2.6) can't seem to find the boost installation. It tries to give helpful suggestions about setting BOOST_DIR and Boost_LIBRARYDIR, but I haven't been able to get it to work by tweaking these variables.
The most recent error message that I get is that it can't find the libraries, but it seems to indicate that it is using "/usr/local/include" for the include path, which isn't correct (and I can't seem to fix it). Does anybody have a solution for this off the top of their head, or do I need to go mucking around inside cmake to figure it out?
© Stack Overflow or respective owner