[CMake] odd behavior when recompiling same source with different compile definitions

2014-04-07 Thread Nease, Brian
Hello, I am trying to compile the same source files into two different executables, each with their own compile definitions applied. However, I notice some odd behavior when I do this. In my situation I have two files main.f90 and def.f90. The main.f90 file, has a #ifdef to use a value from the

[CMake] Cmake and ParMETIS

2014-04-07 Thread Pettey . Lucas
Hello, I am trying to build ParMETIS on a Cray XE6 that only uses static libraries. Every attempt at "make config" and "ccmake" results in the error below, even if I try to set CMAKE_EXE_LINKER_FLAGS to "-pie" and CMAKE_C_FLAGS to "-fPIE". I can't seem to find anyway to get rid of the "-rdynami

Re: [CMake] install(QUIET ...)

2014-04-07 Thread David Cole
On 6. Apr 2014, at 16:48, David Cole wrote: > The patch says it's based on "9dadcae57bc8545d1af66ede4c91c06eaa49f9d6" but I > don't see that commit in CMake 'master' or 'next' branches.. > Where is that commit? It's my local commit containing the changes. I don't think I have push righ

Re: [CMake] install(QUIET ...)

2014-04-07 Thread Stefan Eilemann
Hi all, On 5. Apr 2014, at 22:10, Emmanuel Blot wrote: > Which cmake base version should be used to apply the patch? > (I tried against 2.8.12.2 and 3.0.0-rc1-1 but I got failure in both cases) It was against the git master (3.0). I'll rebased against current master and resubmitted the patch (