Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with linking files using boost::log with CMake Buildfile
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-12-07 11:15:25


AMDG

On 12/07/2013 04:15 AM, David Georg Reichelt wrote:
> Am 06.12.2013 16:59, schrieb Steven Watanabe:
>> AMDG
>>> <snip>
>>>
>>> ADD_DEFINITIONS("-std=c++0x")
>>> SET(BOOST_ROOT "C:/cppLib/boost_1_55_0/")
>>> link_libraries (${Boost_LIBRARIES})
>>>
>>> find_package( Boost 1.54.0 COMPONENTS log)
>>>

Wait a minute. Shouldn't link_libraries
come /after/ find_package? Does the link
command line show that you are linking
to boost_log?

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net