diff --git a/CMLibFormatSources.cmake b/CMLibFormatSources.cmake index 0158bc7..d5e2e20 100644 --- a/CMLibFormatSources.cmake +++ b/CMLibFormatSources.cmake @@ -24,7 +24,7 @@ function(add_format_sources) find_program(DOS2UNIX_EXE NAMES dos2unix) if(DOS2UNIX_EXE) list(APPEND DOS2UNIX_OPTS -k -r) - add_custom_target(format-sources-dos2unix-${_target} COMMAND ${DOS2UNIX_EXE} ${OPTS} + add_custom_target(format-sources-dos2unix-${_target} COMMAND ${DOS2UNIX_EXE} ${DOS2UNIX_OPTS} ${_sources}) add_dependencies(format-sources format-sources-dos2unix-${_target}) else()