summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDFFortranCompilerFlags.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-05 20:56:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-05 20:56:52 (GMT)
commit29ad4fcec93a16d454cceddf71aadad6372ca1a3 (patch)
tree0724f571251806b9ce4c64efe2584ddc2380f069 /config/cmake/HDFFortranCompilerFlags.cmake
parent2c2627e7f66ae9a7c333ad250101f97ae65178ab (diff)
downloadhdf5-29ad4fcec93a16d454cceddf71aadad6372ca1a3.zip
hdf5-29ad4fcec93a16d454cceddf71aadad6372ca1a3.tar.gz
hdf5-29ad4fcec93a16d454cceddf71aadad6372ca1a3.tar.bz2
Correct whitespace in flags, force list mode
Diffstat (limited to 'config/cmake/HDFFortranCompilerFlags.cmake')
-rw-r--r--config/cmake/HDFFortranCompilerFlags.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake
index 64afb2a..6b14dbd 100644
--- a/config/cmake/HDFFortranCompilerFlags.cmake
+++ b/config/cmake/HDFFortranCompilerFlags.cmake
@@ -64,12 +64,12 @@ endif ()
# General flags
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-ifort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand f08 -free -implicitnone")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand" "-free")
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/gnu-warnings/gfort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "-ffree-form -std=f2008 -fimplicit-none")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "-ffree-form" "-std=f2008" "-fimplicit-none")
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "PGI")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "-Mfreeform -Mdclchk -Mstandard -Mallocatable=03")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "-Mfreeform" "-Mdclchk" "-Mstandard" "-Mallocatable=03")
endif ()
message (STATUS "HDF5_CMAKE_Fortran_FLAGS=${HDF5_CMAKE_Fortran_FLAGS}")