Re: [CMake] external projects and transitive dependencies

2014-03-19 Thread Brian Lewis
On 2014.03.19, at 07:21, Micha Hergarden wrote: Hi, thanks for answering. Could you please elaborate a little? > ExternalProject_Add has a DEPENDS option. What you can do is let X > depend on Y DEPENDS seems to mean that the external project depends on something else. If I wanted to make X depen

[CMake] external projects and transitive dependencies

2014-03-18 Thread Brian Lewis
If X brings in Y as an external project, and Y brings in Z as an external project, is there some way for Y to communicate information about Z back to X, e.g., some include directory? My situation is, X doesn't know anything about Z, but needs to be able to find one of Z's headers. I wish I could a

[CMake] bootstrap search for include files

2011-01-14 Thread Brian Lewis
During bootstrap, I see -- Looking for include files HAVE_NETDB_H -- Looking for include files HAVE_NETDB_H - not found. What is happening there? I don't understand why it's not found, when # ls -l /usr/include/netdb.h lrwxrwxrwx 1 root sys 45 Aug 6 2006 /usr/include/netdb.h ->

[CMake] fixing cmake bootstrap NOTFOUNDs

2011-01-14 Thread Brian Lewis
When the cmake bootstrap sets some variables to NOTFOUND, what is the correct way to fix them? To edit CMakeCache.txt? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please k