I am trying to use ExternalProject_Add to automate the installation of dependencies of a medium C project. Everything went well until I had to install a library that uses ExternalProject_Add to install one of its dependencies, which could also be used by my own project. It would be nice if I could avoid the need to rebuild this library, but instead use the already installed version.
Is there a good way to do this? Can I transfer ExternalProject to download material only if some condition, for example, an already installed library, is not met?
build-automation cmake
edu_
source share