diff --git a/CMLibFormatSources.cmake b/CMLibFormatSources.cmake index 0a80e14..6c4a3c0 100644 --- a/CMLibFormatSources.cmake +++ b/CMLibFormatSources.cmake @@ -10,7 +10,7 @@ function(add_format_sources target) find_program(UNCRUSTIFY_EXE NAMES uncrustify) if(UNCRUSTIFY_EXE) - list(APPEND UNCRUSTIFY_OPTS -lCPP --replace --no-backup) + list(APPEND UNCRUSTIFY_OPTS --replace --no-backup) if(EXISTS ${CMAKE_SOURCE_DIR}/cmake/etc/uncrustify/default.cfg) list(APPEND UNCRUSTIFY_OPTS -c ${CMAKE_SOURCE_DIR}/cmake/etc/uncrustify/default.cfg) endif()