diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-03-02 18:20:26 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-03-02 18:20:26 (GMT) |
commit | 713f0f3721c49c1e2a5335f8e5439765e455db51 (patch) | |
tree | dcbded62918bbc1fb2f00e4afdf859f206c741d7 /config/cmake | |
parent | 0df90f9f796d543549a30a648e864932126b6f52 (diff) | |
download | hdf5-713f0f3721c49c1e2a5335f8e5439765e455db51.zip hdf5-713f0f3721c49c1e2a5335f8e5439765e455db51.tar.gz hdf5-713f0f3721c49c1e2a5335f8e5439765e455db51.tar.bz2 |
Lowercase math and set CMake commands
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 6 | ||||
-rw-r--r-- | config/cmake/HDF5UseFortran.cmake | 6 | ||||
-rw-r--r-- | config/cmake/userblockTest.cmake | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index a417806..78b4d03 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -158,10 +158,10 @@ endif () CHECK_TYPE_SIZE("__float128" SIZEOF___FLOAT128) if (${HAVE_SIZEOF___FLOAT128}) - SET (H5_HAVE_FLOAT128 1) + set (H5_HAVE_FLOAT128 1) else () - SET (H5_HAVE_FLOAT128 0) - SET (SIZEOF___FLOAT128 0) + set (H5_HAVE_FLOAT128 0) + set (SIZEOF___FLOAT128 0) endif () #----------------------------------------------------------------------------- diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake index 5529d14..a419950 100644 --- a/config/cmake/HDF5UseFortran.cmake +++ b/config/cmake/HDF5UseFortran.cmake @@ -218,7 +218,7 @@ string (REGEX REPLACE "," ";" VAR "${pac_validRealKinds}") #find the maximum kind of the real list (LENGTH VAR LEN_VAR) -MATH (EXPR _LEN "${LEN_VAR}-1") +math (EXPR _LEN "${LEN_VAR}-1") list (GET VAR ${_LEN} max_real_fortran_kind) foreach (KIND ${VAR} ) @@ -261,7 +261,7 @@ set (PAC_FC_ALL_REAL_KINDS_SIZEOF "\{${pack_real_sizeof}\}") #find the maximum kind of the real string (REGEX REPLACE "," ";" VAR "${pack_real_sizeof}") list (LENGTH VAR LEN_VAR) -MATH (EXPR _LEN "${LEN_VAR}-1") +math (EXPR _LEN "${LEN_VAR}-1") list (GET VAR ${_LEN} max_real_fortran_sizeof) #----------------------------------------------------------------------------- @@ -340,7 +340,7 @@ if (NOT(${SIZEOF___FLOAT128} EQUAL 0)) !!! Fortran interfaces will not be generated for REAL(KIND=${max_real_fortran_kind}) !!!") string (REGEX REPLACE ",[0-9]+}" "}" PAC_FC_ALL_REAL_KINDS ${PAC_FC_ALL_REAL_KINDS}) string (REGEX REPLACE ",[0-9]+}" "}" PAC_FC_ALL_REAL_KINDS_SIZEOF ${PAC_FC_ALL_REAL_KINDS_SIZEOF}) - MATH (EXPR NUM_RKIND "${NUM_RKIND} - 1") + math (EXPR NUM_RKIND "${NUM_RKIND} - 1") endif () endif () diff --git a/config/cmake/userblockTest.cmake b/config/cmake/userblockTest.cmake index 43db733..5095b33 100644 --- a/config/cmake/userblockTest.cmake +++ b/config/cmake/userblockTest.cmake @@ -57,7 +57,7 @@ if (TEST_CHECKUB STREQUAL "YES") file (READ ${TEST_HFILE}.len.txt TEST_O_STRING_LEN) endif () - MATH( EXPR TEST_STRING_SIZE "${TEST_U_STRING_LEN} + ${TEST_O_STRING_LEN}" ) + math( EXPR TEST_STRING_SIZE "${TEST_U_STRING_LEN} + ${TEST_O_STRING_LEN}" ) if (NOT TEST_O_STRING_LEN STREQUAL "0") #$JAM_BIN/getub -c $s2 $origfile > $cmpfile |