mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-22 04:07:49 -05:00
Latest Format.cmake. Passing style
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
#include <adder/adder.hpp>
|
#include <adder/adder.hpp>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
int main()
|
int main() {
|
||||||
{
|
int sum = adder::add(5, 3);
|
||||||
int sum = adder::add(5, 3);
|
std::printf("%d\n", sum);
|
||||||
std::printf("%d\n", sum);
|
return 0;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/../../cmake/CPM.cmake)
|
|||||||
|
|
||||||
CPMAddPackage(
|
CPMAddPackage(
|
||||||
NAME Format.cmake
|
NAME Format.cmake
|
||||||
VERSION 1.6
|
VERSION 1.7.3
|
||||||
GITHUB_REPOSITORY TheLartians/Format.cmake
|
GITHUB_REPOSITORY TheLartians/Format.cmake
|
||||||
OPTIONS "FORMAT_CHECK_CMAKE ON"
|
OPTIONS "CMAKE_FORMAT_EXCLUDE integration/templates"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user