Re: [CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-30 Thread Daniel Dekkers
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:

Re: [CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-30 Thread David Cole
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

Re: [CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-30 Thread Dan Kegel
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

[CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-28 Thread Dan Kegel
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