troy d. straszheim wrote:
> if you link to
> boost_threads-mt-shared, for instance, with the installed exports you
> automagically get -pthread and friends, but with the noninstalled
> exports you don't.  Is this expected?

It should work for both.  Make sure that the export() command for a
target foo appears *after* all target_link_libraries(foo ...) calls.
The export() command writes to the file *immediately*, so any link
information not yet available will not be included.

-Brad
_______________________________________________
Boost-cmake mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake

Reply via email to