Skip to content

Commit

Permalink
[UPDATE] bumped min required cmake version to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
authaldo authored and wodtko committed Aug 5, 2024
1 parent 4d3771e commit 6ac0b6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
project(git-clang-format-cmake)
cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.10)

find_package(Git REQUIRED)
find_package(PythonInterp REQUIRED)
find_package(Python COMPONENTS Interpreter REQUIRED)

set(GCF_DIR ${CMAKE_CURRENT_LIST_DIR} PARENT_SCOPE)

Expand Down
2 changes: 1 addition & 1 deletion pre-commit.template.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

"@PYTHON_EXECUTABLE@" \
"@Python_EXECUTABLE@" \
"@GCF_SCRIPT@" \
--hook
2 changes: 1 addition & 1 deletion run_hooks.template.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
"@PYTHON_EXECUTABLE@" \
"@Python_EXECUTABLE@" \
"@GCF_SCRIPT@" \
$@

0 comments on commit 6ac0b6f

Please sign in to comment.