[mapserver-commits] [MapServer/MapServer] ca792f: CMake: Check compiler type for MSVC speicific option

Even Rouault noreply at github.com
Sat Apr 22 09:23:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: ca792f3706508c25947385138ae79d0203b25dbb
      https://github.com/MapServer/MapServer/commit/ca792f3706508c25947385138ae79d0203b25dbb
  Author: Biswapriyo Nath <nathbappai at gmail.com>
  Date:   2023-04-22 (Sat, 22 Apr 2023)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  CMake: Check compiler type for MSVC speicific option

The '/w' option is specific to MSVC in Windows. So, check the compiler
type before adding that compiler flag. This fixes the following error
in mingw toolchain.

cc: error: no such file or directory: '/w'


  Commit: ed89707507ed84c5d4e1dce4625f49608b2fcd5f
      https://github.com/MapServer/MapServer/commit/ed89707507ed84c5d4e1dce4625f49608b2fcd5f
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-04-22 (Sat, 22 Apr 2023)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Merge pull request #6871 from Biswa96/cmake-msvc

CMake: Check compiler type for MSVC speicific option


Compare: https://github.com/MapServer/MapServer/compare/4def2dd1853f...ed89707507ed


More information about the MapServer-commits mailing list