Re: [CMake] using external library

2018-03-05 Thread Kai Wolf
Steph, what you want to achieve is better known as a *Superbuild* in the CMake world. You have several options here, but the most basic one is probably the following: You setup another repository which only builds all the external dependencies (such as Qt) and put them in a predefined place. In

[CMake] using external library

2018-03-05 Thread Stéphane Ancelot
Hi, I need some external libraries in my project (eg a particular version of qt..) These external projects have been cloned locally , I could use ExternalProject_Add to clone it in my project. My major problem is that I will compile it each time and this is time and disk usage  consuming,