[CMake] cmake as pkg-config replacement has problems?

Alexander Neundorf a.neundorf-work at gmx.net
Sun Jun 17 08:39:24 EDT 2012


On Saturday 16 June 2012, Hendrik Sattler wrote:
> Hi,
> 
> I try the following commands with my projects config file. It is not
> installed but the build tree is registered with export(TARGET).
> 
> $ cmake -DNAME=OpenObex -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE
> --find-package -I/home/hendrik/projects/obex/openobex/repository/include
> 
> $ cmake -DNAME=OpenObex -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK
> --find-package -rdynamic lib/libopenobex.so.1.6
> -Wl,-rpath,/home/hendrik/projects/obex/openobex/repository/build/lib
> 
> I think the latter is missing the complete path to the library or
> alternatively a -L entry.
> 
> Am I doing something wrong or is this a cmake bug.

This may be.
I consider this feature still experimental, it needs users (like you) to 
actually figure out whether it is real-world useful.

Can you open a ticket for this please in the tracker ?

Thanks
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120617/ea030323/attachment.htm>


More information about the CMake mailing list