Re: [CMake] include dirs from EPs not added to project for in-source builds on windows

2018-11-02 Thread Miklos Espak
Hi, I ran into the same problem now on mac. It turned out that it has nothing to do with CMake. I apply some patches to the external projects with "git apply" instead of "patch". But the EP sources are not in git, and if the superbuild dir is inside the source dir, git apply recognises that it's

Re: [CMake] include dirs from EPs not added to project for in-source builds on windows

2018-07-11 Thread Miklos Espak
It was this generator: "Visual Studio 15 2017 Win64" On Wed, 11 Jul 2018 at 17:22, Miklos Espak wrote: > Hi, > > I have a "superbuild" project which builds two external projects (EP) and > then my actual project. It builds fine on linux and mac. On windows, > however, the build fails if the buil

Re: [CMake] include dirs from EPs not added to project for in-source builds on windows

2018-07-11 Thread Miklos Espak
G On Wed, 11 Jul 2018 at 17:22, Miklos Espak wrote: > Hi, > > I have a "superbuild" project which builds two external projects (EP) and > then my actual project. It builds fine on linux and mac. On windows, > however, the build fails if the build directory is *inside* the source > folder. > > Le

[CMake] include dirs from EPs not added to project for in-source builds on windows

2018-07-11 Thread Miklos Espak
Hi, I have a "superbuild" project which builds two external projects (EP) and then my actual project. It builds fine on linux and mac. On windows, however, the build fails if the build directory is *inside* the source folder. Let's say e.g. that the sources are in "c:/src/myproject". If the build