File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ add_clang_library(clangFormat
33
33
file (GLOB_RECURSE files
34
34
*.cpp
35
35
*.h
36
- ../.. /include /clang/Format/*.h
37
- ../.. /tools/clang-format/*.cpp
38
- ../.. /unittests/Format/*.cpp
39
- ../.. /unittests/Format/*.h
36
+ ${CLANG_SOURCE_DIR} /include /clang/Format/*.h
37
+ ${CLANG_SOURCE_DIR} /tools/clang-format/*.cpp
38
+ ${CLANG_SOURCE_DIR} /unittests/Format/*.cpp
39
+ ${CLANG_SOURCE_DIR} /unittests/Format/*.h
40
40
)
41
41
42
42
set (check_format_depends)
@@ -46,8 +46,8 @@ foreach (file IN LISTS files)
46
46
COMMAND clang-format ${file} | diff -u ${file} -
47
47
VERBATIM
48
48
COMMENT "Checking format of ${file} ..."
49
- )
50
- list (APPEND check_format_depends " clang-format-check-format${i} " )
49
+ )
50
+ list (APPEND check_format_depends clang-format-check-format${i} )
51
51
52
52
math (EXPR i ${i} +1)
53
53
endforeach ()
You can’t perform that action at this time.
0 commit comments