[CMake] Linking problem

Sanatan Rai sanatan at gmail.com
Wed Jul 27 08:12:24 EDT 2011


On 27 July 2011 12:33, Marcel Loose <loose at astron.nl> wrote:
> Hi Sanatan,
>
> If you didn't make any copy/paste errors, then I think you made a typo.
>
>> add_library(atfwmath RngStream.cpp RngStream.h coin.cpp coin.hpp)
>> :
>> :
>> target_link_libraries(bt atidt atmath boost_date_time
> boost_program_options)
>
> See: atfwmath versus atmath. You should fix your add_library() line.

  Sorry, I typed the example in, so that's just a typo. There's no typo in the
original CMakeLists.txt files.

-- 
Sanatan Rai


More information about the CMake mailing list