freebsd-ports/math/saga/files/patch-CMakeLists.txt
Rainer Hurling 4f1a5f76d4 math/saga: Update to 9.0.0
Major release with serveral features and bugfixes[1]. With some backwards incompatible API changes.

Some of the highlights are:
- Readme added with licensing hints
- Better UTF-8 support
- Add support for sLong datatype
- Several fixes for db_pgsql
- PostgreSQL: support loading geometry collections
- Grid calculator: functions added, better formula parsing
- Grid calculator: expression replacement option added
- Several enhancements to 3D viewer
- Reorganize python files, some Python related fixes
- helper/saga_python_version_tester.py, script added
- Remove qhull dependency

Changelog: https://sourceforge.net/p/saga-gis/wiki/Changelog%209.0.0/attachment/changelog_saga_9.0.0.txt
2023-03-30 12:05:58 +02:00

13 lines
579 B
Text

--- CMakeLists.txt.orig 2023-03-29 11:00:39 UTC
+++ CMakeLists.txt
@@ -26,6 +26,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON CACHE STRING "Th
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to be used")
set(CMAKE_CXX_STANDARD_REQUIRED ON CACHE STRING "The C++ standard is required")
+# Get Compiler info for about dialog
+set(COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}")
+add_definitions(-DCOMPILER="${COMPILER}")
+
# Platform dependant compiler requirements
if(MSVC)
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)