[GRASS-git] [OSGeo/grass] 7fbcfc: cmake: add optional dependency support for Addons ...

Nicklas Larsson noreply at github.com
Thu Jan 22 10:17:09 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 7fbcfc9201ad79fbc939700d3be81b78e384be60
      https://github.com/OSGeo/grass/commit/7fbcfc9201ad79fbc939700d3be81b78e384be60
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M cmake/modules/CheckDependentLibraries.cmake
    M cmake/modules/Configure.cmake
    M cmake/modules/build_addon.cmake
    M include/Make/Install.make
    M python/grass/app/Makefile
    M python/grass/app/resource_paths.py
    M python/grass/app/runtime.py
    M scripts/g.extension/g.extension.py

  Log Message:
  -----------
  cmake: add optional dependency support for Addons (#6925)

This includes:

- Use the same compiler, if available, which built GRASS
  (CC and CXX environment variables take precedent, if set)
- Add CMAKE_PREFIX_PATH from the GRASS build
- Add macro to find OpenMP on MSVS

and some minor fixes:

- fix PACKAGE and libintl.h conf
- use options["prefix"]
- fix SOURCE_URL



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