Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-29 Thread Alan W. Irwin
On 2010-03-29 09:04-0400 Brad King wrote: Arjen Markus wrote: Hi Alan, I have no time today to really dig into the output, but while CMAKE_HOMEDIRECTORY points to the right directory, the outcome is the same: the "wrong" information file gets loaded. I will send the detailed output from cmake

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-29 Thread Brad King
Arjen Markus wrote: > Hi Alan, > > I have no time today to really dig into the output, but while > CMAKE_HOMEDIRECTORY points to the right directory, the outcome is > the same: the "wrong" information file gets loaded. > > I will send the detailed output from cmake --trace in a separate > mail (>

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-28 Thread Arjen Markus
Hi Alan, I have no time today to really dig into the output, but while CMAKE_HOMEDIRECTORY points to the right directory, the outcome is the same: the "wrong" information file gets loaded. I will send the detailed output from cmake --trace in a separate mail (> 0.5 MB). Regards, Arjen On 2010

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-26 Thread Alan W. Irwin
On 2010-03-26 16:44-0400 Brad King wrote: Bill Hoffman wrote: Alan W. Irwin wrote: It has been reported (by Arjen Markus) that the MinGW issue is because something in that case overwrites CMAKE_SOURCE_DIR There is only one line in the entire source tree that ever sets that variable. It's in

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-26 Thread Brad King
Bill Hoffman wrote: > Alan W. Irwin wrote: >> It has been reported (by Arjen Markus) that the MinGW issue >> is because something in that case overwrites CMAKE_SOURCE_DIR There is only one line in the entire source tree that ever sets that variable. It's in Source/cmMakefile.cxx: this->AddDefi

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-26 Thread Bill Hoffman
Alan W. Irwin wrote: Hi Brad: The PLplot project still uses some special Fortran support files for our CMake-2.6.4 users, but we have run into cross-platform problems in that case where Linux can access our special location for Fortran Platform files, but MinGW cannot. It has been reported (b

[CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-26 Thread Alan W. Irwin
Hi Brad: The PLplot project still uses some special Fortran support files for our CMake-2.6.4 users, but we have run into cross-platform problems in that case where Linux can access our special location for Fortran Platform files, but MinGW cannot. It has been reported (by Arjen Markus) that the