[odb-users] Using CMake for ODB (libraries forlder structre)

Panayiotis Georgiou ps.georgiou at gmail.com
Mon Apr 10 12:49:47 EDT 2017


Thanks for your reply.

I have tried settings CMAKE_MODULE_PATH to point to my cmake modules path
but it still doesn't work i.e. CMAKE_MODULE_PATH=../ExternalLibraries/ODB/
cmake/Modules.

Apologise for my naive question, but what do you mean by "pkg config path
is properly set up". Which paths are you referring to?

PG

On Mon, Apr 10, 2017 at 5:41 PM, Timo Rothenpieler <timo at rothenpieler.org>
wrote:

> Am 10.04.2017 um 18:38 schrieb Михаил Комаров:
>
>> Timo, I know, you were talking about looking for prebuilt libraries with
>> CMake, but why don’t you just use the proposed libraries as a CMake
>> submodule?
>>
>
> You mean bundling the entirety of ODB?
> That's not how CMake find modules work. They find libraries installed into
> the system or some other location CMake can find it.
> Bundling external libraries only leads to a lot of pain maintainance wise
> in the long term, as you are now responsible for keeping them up to date as
> well.
>
>


More information about the odb-users mailing list