[mapserver-commits] [MapServer/MapServer] 8c3bda: CMake: Check compiler type for MSVC speicific opti...

github-actions[bot] noreply at github.com
Sat Apr 22 10:17:39 PDT 2023


  Branch: refs/heads/branch-8-0
  Home:   https://github.com/MapServer/MapServer
  Commit: 8c3bda2235bbfa4f22d837d7ebce3f198ba01d31
      https://github.com/MapServer/MapServer/commit/8c3bda2235bbfa4f22d837d7ebce3f198ba01d31
  Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  Date:   2023-04-22 (Sat, 22 Apr 2023)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  CMake: Check compiler type for MSVC speicific option (#6872)

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'

Co-authored-by: Biswapriyo Nath <nathbappai at gmail.com>




More information about the MapServer-commits mailing list