Re: [CMake] Configuring targets software that isn't yet built

2010-07-30 Thread Brian Davis
I'm doing something similar, but I hit a problem when adding the dependencies so that the external projects are actually built. The issues is that it is currently not possible to use add_dependencies() with imported targets, here's the issue for it:

Re: [CMake] Configuring targets software that isn't yet built

2010-07-26 Thread Alexander Neundorf
On Wednesday 21 July 2010, Brian Davis wrote: I too would like the answer to this and other questions. I have been having the same problem with CMake (among others) How to build a project that contains multiple 3rd party sources where: 1) build of one package is dependent on the not yet

Re: [CMake] Configuring targets software that isn't yet built

2010-07-21 Thread Brian Davis
I too would like the answer to this and other questions. I have been having the same problem with CMake (among others) How to build a project that contains multiple 3rd party sources where: 1) build of one package is dependent on the not yet installed install of a dependency package where the

[CMake] Configuring targets software that isn't yet built

2010-07-20 Thread Richard Offer
I have two targets (libssh2 and curl). Curl wants to know if libssh2 is installed during its configuration step. Of course it isn¹t at that point. I tried a naïve approach ­ adding a variable that curl uses to see if libssh2 is available (HAVE_LIBSSH2_H) into the cache. SET( HAVE_LIBSSH2_H 1