Re: [CMake] FindBoost not finding MinGW libraries

2016-11-15 Thread Sergei Nikulov
15 ноя 2016 г. 7:40 PM пользователь "Robert Ramey" написал: > > On 11/14/16 5:36 AM, David Demelier wrote: > I spent some time getting CMake to work with with boost libraries. > > My conclusions is that FindBoost can be relied upon only for header only libraries. To used build libraries, you'll h

Re: [CMake] Compiling CMake without libuv?

2016-11-15 Thread Robert Maynard
You can ask CMake to use its own copy of libuv by specifying CMAKE_USE_SYSTEM_LIBRARY_LIBUV to false. If building even the CMake version of libuv is not possible you can just disable building server mode by setting CMake_ENABLE_SERVER_MODE On Tue, Nov 15, 2016 at 5:59 PM, Christoph Grüninger wro

[CMake] Compiling CMake without libuv?

2016-11-15 Thread Christoph Grüninger
Dear CMake folks, I am trying to package CMake for openSuse. I was a bit surprised that the new dependency libuv was nowhere mentioned. Can it be disabled by a configure switch for older systems? Currently it errors out when libuv is not found. It should be only necessary for cmake-server, right?

Re: [CMake] FindBoost not finding MinGW libraries

2016-11-15 Thread Robert Ramey
On 11/14/16 5:36 AM, David Demelier wrote: I spent some time getting CMake to work with with boost libraries. My conclusions is that FindBoost can be relied upon only for header only libraries. To used build libraries, you'll have to explicitly set the specific library variable to the path whe

Re: [CMake] CMake 3.7: Test #379: RunCMake.CPack_RPM fails

2016-11-15 Thread Domen Vrankar
2016-11-15 15:16 GMT+01:00 Christoph Grüninger : > Hi Domen, > thanks for your answer. > > > > CMake 3.7 compiles so far, but test #379 (RunCMake.CPack_RPM) fails, > see > > > the error below from OBS. I had a brief look at our patches and I am > apt > > > to think they are unrelated. > > > Can so

Re: [CMake] Force MSVC runtime for debug builds

2016-11-15 Thread Kim Kryger
Issue created: https://gitlab.kitware.com/cmake/cmake/issues/16430 On Tue, Nov 15, 2016 at 3:47 AM, Mueller-Roemer, Johannes Sebastian < johannes.sebastian.mueller-roe...@igd.fraunhofer.de> wrote: > I agree that CMake should not be defining _DEBUG explicitly, as it is used > by Microsoft’s header

Re: [CMake] CMake 3.7: Test #379: RunCMake.CPack_RPM fails

2016-11-15 Thread Christoph Grüninger
Hi Domen, thanks for your answer. > > CMake 3.7 compiles so far, but test #379 (RunCMake.CPack_RPM) fails, see > > the error below from OBS. I had a brief look at our patches and I am apt > > to think they are unrelated. > > Can someone have a look and give some hint? > > > I'll test it today in

Re: [CMake] Are the current scoping rules for functions intended and documented?

2016-11-15 Thread Mario Werner
Hi Brad, thank you very much for the clarification and the background information! I definitely have to scrutinize our CMake code to make sure that no additional problems are lurking in our build system. For now, I am going to file a feature request to keep track of the idea of properly scoping f

Re: [CMake] FindBoost not finding MinGW libraries

2016-11-15 Thread Sergei Nikulov
2016-11-15 12:26 GMT+03:00 David Demelier : > 2016-11-14 16:00 GMT+01:00 Sergei Nikulov : >> Add option -DBoost_ADDITIONAL_VERSIONS="1.62.00;1.62" to command line >> or >> Update you findboost.cmake module from CMake repository. > > I've tried the additional the variable with no luck. I've also upd

Re: [CMake] FindBoost not finding MinGW libraries

2016-11-15 Thread David Demelier
2016-11-14 16:00 GMT+01:00 Sergei Nikulov : > Add option -DBoost_ADDITIONAL_VERSIONS="1.62.00;1.62" to command line > or > Update you findboost.cmake module from CMake repository. I've tried the additional the variable with no luck. I've also updated CMake to 3.7 with no luck. I will try by downlo

Re: [CMake] Force MSVC runtime for debug builds

2016-11-15 Thread Mueller-Roemer, Johannes Sebastian
I agree that CMake should not be defining _DEBUG explicitly, as it is used by Microsoft’s headers to match the chosen runtime. Maybe this warrants a bug report on gitlab. From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Kim Kryger Sent: Monday, November 14, 2016 22:05 To: Stephan Menzel