find_package() searches for a package, and sets variables. Typically variables
like...
package_FOUND # package found or not
package_INCLUDE_DIR # path to the libraries include directory
package_LIBRARY # name of the library
You still have to link in the library yourself:
On Sun, Oct 30, 2011 at 5:46 AM, Daniel Dekkers d.dekk...@cthrough.nl wrote:
find_package() searches for a package, and sets variables. Typically
variables like...
package_FOUND # package found or not
package_INCLUDE_DIR # path to the libraries include directory
package_LIBRARY # name of
Thanks to David Daniel for the replies, but I was
already doing everything by the book, so their replies
didn't help. It seems to be a bug, or flaky feature, in boost; I had
to disable auto-linking. Here's the final, working CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
# Turn off
I'm slowly learning cmake and converting some real software to it,
targeting Linux, Windows, and Mac OS X.
Along the way, I'm making minimal working examples (they're a lot
easier to debug them than the real thing) and putting them up at