From c1becce98923d5fb7a7d4b84ae0672a870ec47b5 Mon Sep 17 00:00:00 2001 From: Alex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:58:21 -0800 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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()