[CMake] Linking problem

Sanatan Rai sanatan at gmail.com
Wed Jul 27 08:13:47 EDT 2011


On 27 July 2011 12:37, Rolf Eike Beer <eike at sf-mail.de> wrote:
>> include_directories(${at_SOURCE_DIR})
>> add_library(atfwmath RngStream.cpp RngStream.h coin.cpp coin.hpp)
>> target_link_libraries(atfwmath)
>
> You are telling CMake here that atfwmath should be linked against
> something. But you don't tell it against what.

There are no other dependencies. Originally, this line was not there.
I added it to see if it would fix the problem.


-- 
Sanatan Rai


More information about the CMake mailing list