To separate the platform logic in our CMake files the 3rd party dependency files
and logic have all been moved into the dependencies/ folder. I tried creating a
library output file that could be easily included in the root CMakeLists.txt but
it was a lot more difficult than expected. Especially on Travis-CI where I gave
up because of linker order build errors that wouldn't happen on any other
platform (I gave up here: http://stackoverflow.com/a/19905704).
Add a CMakeLists.txt to encapsulate all dependency logic
To separate the platform logic in our CMake files the 3rd party dependency files and logic have all been moved into the dependencies/ folder. I tried creating a library output file that could be easily included in the root CMakeLists.txt but it was a lot more difficult than expected. Especially on Travis-CI where I gave up because of linker order build errors that wouldn't happen on any other platform (I gave up here: http://stackoverflow.com/a/19905704).