Re: [CMake] External project and patch files

2011-07-18 Thread Jean-Christophe Fillion-Robin
Hi Hugh, By design ExternalProject module will download and patch a project only one time. Indeed, the ExternalProject wouldn't be able to apply a patch more than one time. It also doesn't have a way to detect if a patch has been applied. In other word, you will have to clear the project so

[CMake] External project and patch files

2011-07-17 Thread Hugh Sorby
Hello All, I am using external project to well build some external projects. I also patch these projects to play nice for me. For this I use the ExternalProject_Add PATCH_COMMAND. Right now I have two difficulties. 1. I have to combine all my fixes into one patch. I would prefer to have a