diff --git a/modules/fc_optional.cmake b/modules/fc_optional.cmake index 86e7fff..a0b0004 100644 --- a/modules/fc_optional.cmake +++ b/modules/fc_optional.cmake @@ -31,9 +31,9 @@ # docopt: --fc= Fortran compiler [default: gfortran]. # --extra-fc-flags= Extra Fortran compiler flags [default: '']. # --fc-support= Toggle Fortran language support (ON/OFF) [default: ON]. -# export: 'FC=%s' % arguments['--fc'] -# define: '-DEXTRA_FCFLAGS="%s"' % arguments['--extra-fc-flags'] -# '-DENABLE_FC_SUPPORT="%s"' % arguments['--fc-support'] +# export: 'FC="{0}"'.format(arguments['--fc']) +# define: '-DEXTRA_FCFLAGS="{0}"'.format(arguments['--extra-fc-flags']) +# '-DENABLE_FC_SUPPORT="{0}"'.format(arguments['--fc-support']) option(ENABLE_FC_SUPPORT "Enable Fortran language support" ON)