[GRASS-git] [OSGeo/grass] b32d46: cmake: fix warnings and errors with newer CMake an...

Nicklas Larsson noreply at github.com
Fri Dec 5 11:56:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: b32d4634c825b062d52e6905acc84022095ed945
      https://github.com/OSGeo/grass/commit/b32d4634c825b062d52e6905acc84022095ed945
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M cmake/modules/build_gui_in_subdir.cmake
    M gui/wxpython/docs/CMakeLists.txt
    M locale/CMakeLists.txt
    M raster/r.mapcalc/CMakeLists.txt

  Log Message:
  -----------
  cmake: fix warnings and errors with newer CMake and Xcode (#6695)

This addresses CMake Warning with CMake 3.31 (at least):

- cmake/modules/build_gui_in_subdir.cmake
  Warning: "COMMENT requres exactly one argument, but multiple values
  or COMMENT  keywords have been given".
- gui/wxpython/docs/CMakeLists.txt
  Warning: "The following keywords are not supported when using
  add_custom_command(TARGET): DEPENDS."

and CMake Error configuring with Xcode generator, both related to a
custom command (generating file/directory) that is attached to multiple
targets:

- locale/CMakeLists.txt
- raster/r.mapcalc/CMakeLists.txt



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list