evpp icon indicating copy to clipboard operation
evpp copied to clipboard

CMake no longer defines WIN32 on Cygwin

Open JuKu opened this issue 5 years ago • 1 comments

Thanks for your great work!

But badly, i cannot build the project.

These are the CMake Logs:

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
CMake Warning at /cygdrive/c/Users/.../cygwin_cmake/share/cmake-3.16.5/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):
  /cygdrive/c/Users/.../cygwin_cmake/share/cmake-3.16.5/Modules/CMakeSystemSpecificInformation.cmake:26 (include)
  CMakeLists.txt:3 (project)

Can you please fix this?

JuKu avatar Jun 20 '20 17:06 JuKu

ping:)

sskras avatar May 09 '23 16:05 sskras