[CMake] Incorporating third party libraries

Clifford Yapp cliffyapp at gmail.com
Tue Oct 4 10:24:41 EDT 2011


On Tue, Oct 4, 2011 at 7:20 AM, Daniel Dekkers <d.dekkers at cthrough.nl>wrote:

> Hi,
>
> Would really appreciate your advice on this.
>
> We are planning to use and maybe distribute a library (let's call it
> OurLib) that depends on third-party libraries, namely Boost, Glut, OpenGL,
> FreeType, Bullet, PNG, ...
>

You could take a look at what BRL-CAD does for this situation:

http://brlcad.svn.sourceforge.net/viewvc/brlcad/brlcad/trunk  (look for
adding the src/other subdirectory in CMakeLists.txt)
http://brlcad.svn.sourceforge.net/viewvc/brlcad/brlcad/trunk/src/other/

macros used are defined in:

http://brlcad.svn.sourceforge.net/viewvc/brlcad/brlcad/trunk/misc/CMake/



More information about the CMake mailing list