File: fix-build-with-new-cmake.patch

package info (click to toggle)
golang-mvdan-editorconfig 0.2.0%2Bgit20240816.eab549b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: makefile: 9
file content (9 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
 # This file is only used as part of 'go test'.
 
+cmake_minimum_required(VERSION 3.5)
 enable_testing()
 set(EDITORCONFIG_CMD $ENV{EDITORCONFIG_CMD})
 add_subdirectory(core-test)