I am setting up a CMAKE project that uses a lot of ExternalProjects. To build one of them (CEGUI), I need to download the GLM (OpenGL Math Library). This Library is include only library, which means that you mustn't compile it. There are some test that can be compiled but there is no need for them in my project (moreover, one of them do not compile properly and breaks the compiling chain).
What I would like, is to find a way to tell CMAKE to only download the project (GIT update etc) like it does normally using the ExternalProject_add() function, but without trying to compile it (which produces a FATAL ERROR), and install the INCLUDE files (which are the library indeed).
Is there a download header files and install them functionnality in CMAKE? Does anyone already have this problem with GLM header-library?