Re: [CMake] ExternalProject_Add : set the location of CMakeLists.txt

2016-10-26 Thread Benjamin Ballet via CMake
It's not listed in changelog though : https://cmake.org/cmake/help/v3.7/release/3.7.html 2016-10-26 11:34 GMT+02:00 Benjamin Ballet : > Ok I'm quiet lucky : There is what I need in CMake 3.7 (SOURCE_SUBDIR) > > 2016-10-25 19:54 GMT+02:00 Konstantin Podsvirov > : > >> Hello again. >> >> 25.10.201

Re: [CMake] ExternalProject_Add : set the location of CMakeLists.txt

2016-10-26 Thread Benjamin Ballet via CMake
Ok I'm quiet lucky : There is what I need in CMake 3.7 (SOURCE_SUBDIR) 2016-10-25 19:54 GMT+02:00 Konstantin Podsvirov : > Hello again. > > 25.10.2016, 20:31, "Konstantin Podsvirov" : > > Hello, Benjamin. > > > > 25.10.2016, 19:41, "Benjamin Ballet via CMake" : > >> Hi, > >> > >> I'm trying to

Re: [CMake] ExternalProject_Add : set the location of CMakeLists.txt

2016-10-25 Thread Konstantin Podsvirov
Hello again. 25.10.2016, 20:31, "Konstantin Podsvirov" : > Hello, Benjamin. > > 25.10.2016, 19:41, "Benjamin Ballet via CMake" : >>  Hi, >> >>  I'm trying to get GLEW (https://github.com/nigels-com/glew) with >> ExternalProject_Add >>  It's buildable with cmake but the CMakeLists.txt is in build/

Re: [CMake] ExternalProject_Add : set the location of CMakeLists.txt

2016-10-25 Thread Konstantin Podsvirov
Hello, Benjamin. 25.10.2016, 19:41, "Benjamin Ballet via CMake" : > Hi, > > I'm trying to get GLEW (https://github.com/nigels-com/glew) with > ExternalProject_Add > It's buildable with cmake but the CMakeLists.txt is in build/cmake directory. > > Is there a way to specify the directory of the CMa

[CMake] ExternalProject_Add : set the location of CMakeLists.txt

2016-10-25 Thread Benjamin Ballet via CMake
Hi, I'm trying to get GLEW (https://github.com/nigels-com/glew) with ExternalProject_Add It's buildable with cmake but the CMakeLists.txt is in build/cmake directory. Is there a way to specify the directory of the CMakeLists.txt file ? If I change SOURCE_DIR it will only clone the repo in SOURCE