Hi I've got a question about PKGCONFIG usage Let's say I've got SOMELIB_CFLAGS and SOMELIB_LD_FLAGS from PKGCONFIG by this:
PKGCONFIG(somelib SOMELIB_INCLUDE_DIR SOMELIB_LINK_DIR SOMELIB_LD_FLAGS SOMELIB_CFLAGS) I could use SET(CMAKE_CXX_FLAGS "${SOMELIB_CFLAGS} ${CMAKE_CXX_FLAGS}") to set includes for that dir, but I could not find any CMAKE_LD_FLAGS to add SOMELIB_LD_FLAGS to, so that I've got my library included on linking stage I would really appreciate any help here. Thanks, Andriy P.S. BTW as far as I understand *_INCLUDE_DIR and *_LINK_DIR are quite useless for application developer, am I correct? _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake