diff --git a/cmake/modules/DuneXtCommonMacros.cmake b/cmake/modules/DuneXtCommonMacros.cmake index f3f541646781e0b25e78072eaa756ea166b20a41..c020eac3aa9c47eb1eb338ad323ed1d39929f923 100644 --- a/cmake/modules/DuneXtCommonMacros.cmake +++ b/cmake/modules/DuneXtCommonMacros.cmake @@ -59,7 +59,7 @@ macro(add_format) # 'fix' relative source defs set(_file ${CMAKE_CURRENT_SOURCE_DIR}/${_file}) endif(NOT EXISTS ${_file}) - add_custom_target("format_${fn}" ${ClangFormat_EXECUTABLE} -i -style=file ${_file} ) + add_custom_target("format_${fn}" ${ClangFormat_EXECUTABLE} -i -style=file -fallback-style=none ${_file} ) add_dependencies( format "format_${fn}" ) endforeach(_file ) else()