title: CMake and finding other projects and their dependencies
body: <p>Imagine the following scenario: <code>Project A</code> is a shared library which has several dependencies (<code>LibA</code>, <code>LibB</code>, and <code>LibC</code>). <code>Project B</code> is an executable that has a dependency on <code>project A</code>, and therefore requires all of <code>Project A</code>'s dependencies also in order to build.</p>
  <p>Additionally, both projects are built using <code>CMake</code>, and <code>Project A</code> should not need to be installed (via the 'install' target) in order for <code>Project B</code> to use it, as this can become a nuisance to developers.</p>
  <p>What is the best way to solve these dependencies using <code>CMake</code>? The ideal solution would be as simple as possible (though no simpler) and require minimal maintenance.</p>