Re: [CMake] CMAKE_MODULE_PATH ignored

2016-02-09 Thread Attila Krasznahorkay
Hi, I myself use statements like: list( INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/modules ) at the beginning of my main CMakeLists.txt file, and it works exactly as one would expect. I also override some CMake provided modules like this. Cheers, Attila > On 08 Feb 2016, at 20:22,

Re: [CMake] CMAKE_MODULE_PATH ignored

2016-02-08 Thread Micha Hergarden
On 08/02/16 19:35, Alain Miniussi wrote: > On 08/02/2016 18:43, Alain Miniussi wrote: >> >> Hi, >> >> I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, >> only environment variable is supported and it will be eventually >> probably ignored in find_program). >> >> To that end, I'd

Re: [CMake] CMAKE_MODULE_PATH ignored

2016-02-08 Thread Alain Miniussi
On 08/02/2016 18:43, Alain Miniussi wrote: Hi, I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, only environment variable is supported and it will be eventually probably ignored in find_program). To that end, I'd like to copy it in my source tree and use that version inste

[CMake] CMAKE_MODULE_PATH ignored

2016-02-08 Thread Alain Miniussi
Hi, I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, only environment variable is supported and it will be eventually probably ignored in find_program). To that end, I'd like to copy it in my source tree and use that version instead of the one in /usr/shared/cmake. Accord