From: Arjen M. <Arj...@de...> - 2015-05-13 07:42:08
|
Hi Alan, Well, that was easy and it brought up the warning immediately: -- Explicitly setting policy CMP0051 to OLD -- Explicitly setting policy CMP0052 to OLD -- Explicitly setting policy CMP0053 to OLD -- Explicitly setting policy CMP0054 to OLD CMake Warning at /usr/share/cmake-3.1.2/Modules/Platform/CYGWIN.cmake:15 (message): CMake no longer defines WIN32 on Cygwin! (1) If you are just trying to build this project, ignore this warning or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in the CMake cache. If later configuration or build errors occur then this project may have been written under the assumption that Cygwin is WIN32. In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead. (2) If you are developing this project, add the line set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required at the top of your top-level CMakeLists.txt file or set the minimum required version of CMake to 2.8.4 or higher. Then teach your project to build on Cygwin without WIN32. Call Stack (most recent call first): /usr/share/cmake-3.1.2/Modules/CMakeSystemSpecificInformation.cmake:36 (include) CMakeLists.txt:39 (project) -- The C compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- CMake version = 3.1.2 -- CMAKE_SYSTEM_NAME = CYGWIN -- Configuring done -- Generating done -- Build files have been written to: /cygdrive/d/tmp/cmake Regards, Arjen > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > > Thanks for these no-spurious-message results which are quite puzzling/unexpected. > > To proceed further please change that test to be identical to > > line 33 through line 87 of our top-level CMakeLists.txt file, i.e., the range of lines: > > function(plplot_cmake_minimum_required) > [...] > message(STATUS "CMAKE_SYSTEM_NAME = ${CMAKE_SYSTEM_NAME}") > > ? DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |