0003-lib-miniz-only-require-a-C-compiler.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. From abb3b388aaf7ea72ea1fcad77ead52f15a0cf543 Mon Sep 17 00:00:00 2001
  2. From: Thomas Devoogdt <thomas@devoogdt.com>
  3. Date: Tue, 1 Apr 2025 22:56:00 +0200
  4. Subject: [PATCH] lib: miniz: only require a C compiler
  5. Commit https://github.com/richgel999/miniz/commit/05ab4dc05c9d1e1f951f5849b659e2c7e291a620
  6. "Add some catch2 tests" dropped that C flag, but should instead only have added a simple
  7. enable_language call for the tests only.
  8. Upstream: https://github.com/richgel999/miniz/commit/383e551cccf41fc2ce1177712d6a37a85d936642
  9. Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
  10. ---
  11. lib/miniz/CMakeLists.txt | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/lib/miniz/CMakeLists.txt b/lib/miniz/CMakeLists.txt
  14. index 859133ad0..f3d80f80a 100644
  15. --- a/lib/miniz/CMakeLists.txt
  16. +++ b/lib/miniz/CMakeLists.txt
  17. @@ -7,7 +7,7 @@ if(DEFINED PROJECT_NAME)
  18. endif()
  19. if(CMAKE_MINOR_VERSION LESS 12)
  20. - project(miniz)
  21. + project(miniz C)
  22. # see issue https://gitlab.kitware.com/cmake/cmake/merge_requests/1799
  23. else()
  24. project(miniz C)
  25. --
  26. 2.43.0