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

Biswapriyo Nath noreply at github.com
Sat Apr 22 09:23:33 PDT 2023


  Branch: refs/heads/backport-6871-to-branch-8-0
  Home:   https://github.com/MapServer/MapServer
  Commit: 949705b84110b3b248e848756603b5481d8738eb
      https://github.com/MapServer/MapServer/commit/949705b84110b3b248e848756603b5481d8738eb
  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'




More information about the MapServer-commits mailing list