Re: [CMake] Looking for advice on creating targets that use external packages

2011-03-02 Thread Michael Hertling
On 03/01/2011 04:52 PM, L. A. Pritchett-Sheats wrote: Thanks for the reply. Just so I understand, is the following statement accurate: FIND_PACKAGE for XXX sets plural XXX_INCLUDE_DIRS and XXX_LIBRARIES which include all the needed include paths and libraries to compile and build anything

[CMake] Looking for advice on creating targets that use external packages

2011-02-24 Thread L. A. Pritchett-Sheats
I'm working on a software project that requires about a dozen external packages to build our libraries. What is the correct way to define the dependencies for our targets that depend on these external libraries? So far I have created FindXXX.cmake files for each external library. These files set

Re: [CMake] Looking for advice on creating targets that use external packages

2011-02-24 Thread Michael Hertling
On 02/24/2011 06:00 PM, L. A. Pritchett-Sheats wrote: I'm working on a software project that requires about a dozen external packages to build our libraries. What is the correct way to define the dependencies for our targets that depend on these external libraries? So far I have created