Re: [CMake] building a library named 'general'

2013-11-20 Thread Michael DiCuccio
Yes, that works. On Tue, Nov 19, 2013 at 7:21 PM, Matthew Woehlke matthew.woeh...@kitware.com wrote: On 2013-11-19 19:07, Michael DiCuccio wrote: Suppose you have a library named general: - add_library(general foo bar) - and then try to link it into an application: -

[CMake] building a library named 'general'

2013-11-19 Thread Michael DiCuccio
Hi! I've come across an odd conundrum and need a little help resolving it. I'm porting a large toolkit to use CMake instead of an autoconf / configure-based makefile system. One problem we tripped across is a library named 'libgeneral.so', built as part of the toolkit itself. The trouble is

Re: [CMake] building a library named 'general'

2013-11-19 Thread Matthew Woehlke
On 2013-11-19 19:07, Michael DiCuccio wrote: Suppose you have a library named general: - add_library(general foo bar) - and then try to link it into an application: - add_executable(myapp baz) target_link_libraries(myapp general) - cmake complains about the fact that