[CMake] [ANNOUNCE] CMake 3.6.0-rc1 now ready for testing!

2016-06-03 Thread Robert Maynard
I am proud to announce the first CMake 3.6 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.6 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.6/release/3.6.html Some of the more significant fe

[CMake] Problem building CMake with system OPENSSL

2016-06-03 Thread Lowekamp, Bradley (NIH/NLM/LHC) [C]
Hello, I am trying to build CMake on an old system with a new version of openssl. My build script was working with CMake 3.4 but is not working with 3.5.2 or current master. Here is how I am building cmake: cd /tmp/cmake-build && ../${CMAKE_ROOT}/bootstrap && make -j ${NPROC} && ./

Re: [CMake] Calling find_package(self) for in-project builds

2016-06-03 Thread Walter Gray
Very true, but adding the option of sometimes having the targets be aliases and sometimes having them be imported means that protobuf-module.cmake.in has to get much more complicated and means that we have to conditionally include protobuf-targets.cmake I'd like to minimize the differences between

Re: [CMake] execute short program during cmake configuration ?

2016-06-03 Thread Petr Kmoch
Hi Miro, looks like you want to use the try_run() command ( https://cmake.org/cmake/help/latest/command/try_run.html ). Petr On 2 June 2016 at 22:10, Ilias Miroslav wrote: > > Greetings, dear experts, > > > we have (two) short Fortran programs (detection of integer*4/8 for math > libraries) wh