Re: [CMake] Full paths for transitive dependencies

2015-03-18 Thread Stephen Kelly
Adam wrote: I happened to stumble acrosss this today. I fixed it by adding another find_package to the last project but this seems to defeat the purpose of transitive dependencies. What am I doing wrong? The docs I linked to describe Config files which include() the result of

Re: [CMake] Full paths for transitive dependencies

2015-03-17 Thread Adam
I happened to stumble acrosss this today. I fixed it by adding another find_package to the last project but this seems to defeat the purpose of transitive dependencies. What am I doing wrong? Here's a more detailed example (https://github.com/toomuchatonce/cmake_transient_issue.git)

[CMake] Full paths for transitive dependencies

2015-03-16 Thread Richard Taylor
Hello, I'm a CMake newbie trying to build a chain of libraries on windows, let's call them A, B and C A is a standalone shared library B is a shared library that depends on A in its headers implementation C is a shared library that depends on B (and so implicitly depends on A) All three export

Re: [CMake] Full paths for transitive dependencies

2015-03-16 Thread Stephen Kelly
Richard Taylor wrote: http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file Prefer the official documentation instead of the wiki wherever official documentation exists (especially if it is well-formatted; that means it's probably recent and maintained).