Re: [CMake] Writing foo-config.cmake with find_dependency

2018-10-04 Thread Mateusz Loskot
On Mon, 1 Oct 2018 at 21:45, Mateusz Loskot wrote: > > The library has number of dependencies on third-party libraries, > namely database access client libraries. I've reached the point > where I need to 'list' those dependencies in soci-config.cmake [3] > Namely, I need to make friend with find_d

[CMake] Writing foo-config.cmake with find_dependency

2018-10-01 Thread Mateusz Loskot
Hi, After 10+ years of maintaining a horrible kind o CMake configuration for a project I maintain, SOCI [1], I'm in the middle of rewriting it [2] according to the modern CMake principles. At least, I'm trying to. The library has number of dependencies on third-party libraries, namely database ac