Am Freitag, 25. Mai 2018, 18:53:43 schrieb Francesco Abbate: > Hi, > > thank you for the help. > > As suggested by Andreas, AGG_LDFLAGS does what I think should be done > and it works for me. > > As for the IMPORTED_TARGET approach, I still need to explicitly call > target_include_directories() and in addition the options given to the > linker with PkgConfig::AGG seems to be wrong. I am quite inclined to > forgot about this IMPORTED_TARGET approach, I prefer to use the more > simple approach that works.
I would like to hear that story, just in case the module still has bugs. But please try with a recent development snapshot of CMake as there have been some additional fixes to the module recently. Eike --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake