diff --git a/CMakeLists.txt b/CMakeLists.txt index 45282909..9b7e0abc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,18 +92,18 @@ endif() if(F90_AUTOFORMAT) find_program(FPRETTIFY_EXE fprettify REQUIRED) execute_process( - COMMAND ${FPRETTIFY_EXE} --version - OUTPUT_VARIABLE FPRETTIFY_VERSION - OUTPUT_STRIP_TRAILING_WHITESPACE - ) + COMMAND ${FPRETTIFY_EXE} --version + OUTPUT_VARIABLE FPRETTIFY_VERSION + OUTPUT_STRIP_TRAILING_WHITESPACE + ) if(NOT ${FPRETTIFY_VERSION} MATCHES "-emc$") message(FATAL_ERROR "The EMC-modified version of fprettify is required") endif() message(STATUS "Creating 'fprettify' target to directly update src/*.F90") add_custom_target( - fprettify - COMMAND ${FPRETTIFY_EXE} --case 1 1 1 1 1 --indent 4 - --whitespace 1 --enable-replacements --bkup_suffix .bkp - "${CMAKE_SOURCE_DIR}/src/*.F90" + fprettify + COMMAND ${FPRETTIFY_EXE} --case 1 1 1 1 1 --indent 4 + --whitespace 1 --enable-replacements --bkup_suffix .bkp + "${CMAKE_SOURCE_DIR}/src/*.F90" ) endif()