After much agony, I've successfully arranged for my CMake project to use some library via ExternalProject. I cmake, I make, it works - life is good.
However, if I make again, it performs the Update and Install steps for the external project. I definitely do not want this to happen. How do I prevent this?
One way to do it is to set
UPDATE_COMMANDto""for your library's external project, that is, have:in your
CMakeLists.txt. That means you might not be able to update the external project via CMake and will have to resort to doing it manually, or cleanly rebuilding everything etc.