chore: Fix compilation error with clang-20 and cleanup (#5543)

Removes clutter for old compilers, defaults to non-unity builds in cmake to match conanfile.py, and workaround for clang-20 compilation errors.
This commit is contained in:
Bronek Kozicki
2025-07-09 18:47:34 +01:00
committed by GitHub
parent a7eea9546f
commit f47e2f4e82
4 changed files with 40 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ if(tests)
endif()
endif()
option(unity "Creates a build using UNITY support in cmake. This is the default" ON)
option(unity "Creates a build using UNITY support in cmake." OFF)
if(unity)
if(NOT is_ci)
set(CMAKE_UNITY_BUILD_BATCH_SIZE 15 CACHE STRING "")