Re: [CMake] INTERFACE libraries and -config.cmake files

2017-12-04 Thread Domen Vrankar
2017-12-04 23:17 GMT+01:00 Saad Khattak : > Hi, > > I have an interface library and I am not sure how I would get CMake to > generate the usual -config.cmake file for the library so that I can > then use "find_package" on the interface library from an external project. > > I

[CMake] INTERFACE libraries and -config.cmake files

2017-12-04 Thread Saad Khattak
Hi, I have an interface library and I am not sure how I would get CMake to generate the usual -config.cmake file for the library so that I can then use "find_package" on the interface library from an external project. I am adding (and installing) the library like this: add_library(myLib