Download cpm.cmake on-demand and lock cmake-format version (#55)

* download cpm.cmake on-demand

* apply clang-format

* use pip3 and version lock cmake-format
This commit is contained in:
Lars Melchior 2020-08-20 09:11:00 +02:00 committed by GitHub
parent 866ae707e5
commit 218eb2270c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 502 deletions

View file

@ -33,8 +33,6 @@ CPMAddPackage(
VERSION 1.6
OPTIONS # enable cmake formatting
"FORMAT_CHECK_CMAKE ON"
# skip CPM.cmake
"CMAKE_FORMAT_EXCLUDE cmake/CPM.cmake"
)
# ---- Create binary ----