File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,23 @@ option(CPPCHECK "Turns on cppcheck processing if it is found." OFF)
21
21
# as the options set.
22
22
macro (clang_tidy)
23
23
if (CLANG_TIDY AND CLANG_TIDY_EXE)
24
- set (CMAKE_CXX_CLANG_TIDY ${CLANG_TIDY_EXE} ${ARGN} )
24
+ set (CMAKE_CXX_CLANG_TIDY ${CLANG_TIDY_EXE} ${ARGN} CACHE STRING "" FORCE )
25
25
endif ()
26
26
endmacro ()
27
27
28
28
# Adds include_what_you_use to the compilation, with the given arguments being
29
29
# used as the options set.
30
30
macro (include_what_you_use)
31
31
if (IWYU AND IWYU_EXE)
32
- set (CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXE} ${ARGN} )
32
+ set (CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXE} ${ARGN} CACHE STRING "" FORCE )
33
33
endif ()
34
34
endmacro ()
35
35
36
36
# Adds cppcheck to the compilation, with the given arguments being used as the
37
37
# options set.
38
38
macro (cppcheck)
39
39
if (CPPCHECK AND CPPCHECK_EXE)
40
- set (CMAKE_CXX_CPPCHECK ${CPPCHECK_EXE} ${ARGN} )
40
+ set (CMAKE_CXX_CPPCHECK ${CPPCHECK_EXE} ${ARGN} CACHE STRING "" FORCE )
41
41
endif ()
42
42
endmacro ()
43
43
You can’t perform that action at this time.
0 commit comments