[CMake] Linking to a library with a "-"

David Doria daviddoria at gmail.com
Wed Apr 15 11:43:41 EDT 2009


Tyler - yep, I did try putting it in quotes, and it had no affect.

Mike - I am not trying to compile boost. My naming may have been misleading.
Boost/ProgramOptions is in my Examples/ folder. I am trying to build an
example, call it instead "ExampleBoostProgramOptions.cpp", and only link to
boost_program_options-mt.

Thanks,

David


On Wed, Apr 15, 2009 at 11:36 AM, Tyler Roscoe <tyler at cryptio.net> wrote:

> On Wed, Apr 15, 2009 at 11:09:43AM -0400, David Doria wrote:
> > TARGET_LINK_LIBRARIES(MultipleLists boost_program_options-mt)
>
> Sort of a long shot, but did you try putting quotes around
> "boost_program_opotions-mt"?
>
> tyler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090415/70935a8d/attachment.htm>


More information about the CMake mailing list