Skip to content

Conversation

@mattdawkins
Copy link
Member

No description provided.

mattdawkins and others added 6 commits January 24, 2026 13:02
- Update cmake_minimum_required from 3.3.0 to 3.10 in root CMakeLists.txt
- Add CMAKE_POLICY_VERSION_MINIMUM=3.10 to COMMON_CMAKE_ARGS
- Add Windows-specific CMP0091 policy for MSVC runtime library
- Update Patches/Boost/Common.cmake to require CMake 3.10

These changes prepare fletch for CMake 4 compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Patches/CppDB/CMakeLists.txt: 2.6 -> 3.10
- Patches/PostgreSQL/CMakeLists.txt: 2.8 -> 3.10
- Patches/PostgreSQL/Patch.cmake: Add cmake_minimum_required to generated file
- Patches/libsvm/CMakeLists.txt: 3.3 -> 3.16.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add patches for VTK 8.0, 8.2, 9.0, and 9.5 to fix CMake 4 compatibility.

The main issue is that cmake_policy(SET CMP0022 OLD) is no longer
supported in CMake 4. These patches replace the vtklibproj4 policies.cmake
file to set CMP0022 to NEW instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add patch for vxl_shared_link_test CMakeLists.txt to fix CMake 4
compatibility. The original file had cmake_minimum_required version
that was too old for CMake 4.

The patched file updates the minimum version to 3.10 and sets
appropriate policies for newer CMake versions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- libjpeg-turbo: Remove cmake_policy(SET CMP0022 OLD)
- libgeotiff: Remove cmake_policy(SET CMP0022 OLD) and CMP0042 OLD
- x265: Remove cmake_policy(SET CMP0025 OLD) and CMP0054 OLD
- yasm: Update cmake_minimum_required to 3.10, fix LOCATION property
        usage (CMP0026) by replacing with generator expressions

These policies can no longer be set to OLD in CMake 4.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- External_CppDB.cmake: Use COMMON_CMAKE_ARGS for consistency
- External_libgeotiff.cmake: Add PATCH_COMMAND to apply new patch
- External_yasm.cmake: Add PATCH_COMMAND and use COMMON_CMAKE_ARGS

This wires up the new CMake 4 compatibility patches to be applied
during the build process.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant