finally this works

This commit is contained in:
Robin Müller 2022-05-13 11:37:58 +02:00
parent ad0b6f1ed1
commit deee4c43c0
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -3,7 +3,7 @@ if [[ ! -f README.md ]]; then
cd ..
fi
cmake_fmt="python3 -m cmake-format"
cmake_fmt="cmake-format"
if command -v ${cmake_fmt} &> /dev/null; then
cmake_fmt_cmd="${cmake_fmt} -i CMakeLists.txt"
eval ${cmake_fmt_cmd}