summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-04 21:06:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-04 21:06:31 (GMT)
commit4442b5b743aa3c7ee04b94c144be320d1a53591c (patch)
tree168faf0b6ec3925dc1fec2bc1f8d076e85452007 /config/cmake
parenta5301ee6b832dc18f692b048102f183e3cef6d15 (diff)
downloadhdf5-4442b5b743aa3c7ee04b94c144be320d1a53591c.zip
hdf5-4442b5b743aa3c7ee04b94c144be320d1a53591c.tar.gz
hdf5-4442b5b743aa3c7ee04b94c144be320d1a53591c.tar.bz2
TRILABS-34 improve cross compile with emulator
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/HDF5UseFortran.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake
index f7f182f..157befd 100644
--- a/config/cmake/HDF5UseFortran.cmake
+++ b/config/cmake/HDF5UseFortran.cmake
@@ -32,12 +32,6 @@ endif ()
# so this one is used.
#-----------------------------------------------------------------------------
macro (FORTRAN_RUN FUNCTION_NAME SOURCE_CODE RUN_RESULT_VAR1 COMPILE_RESULT_VAR1 RETURN_VAR)
-#
-# if (CMAKE_CROSSCOMPILING)
-# set (${OUTPUT_VAR} ${PRESET_${FUNCTION_NAME}})
-# message (STATUS "Detecting Fortran ${FUNCTION_NAME}: force ${OUTPUT_VAR}")
-# set(${RETURN_VAR} ${OUTPUT_VAR})
-# else ()
message (STATUS "Detecting Fortran ${FUNCTION_NAME}")
file (WRITE
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler1.f90
@@ -69,7 +63,6 @@ macro (FORTRAN_RUN FUNCTION_NAME SOURCE_CODE RUN_RESULT_VAR1 COMPILE_RESULT_VAR1
)
set(${RETURN_VAR} ${COMPILE_RESULT_VAR})
endif ()
-# endif ()
endmacro ()
# Read source line beginning at the line matching Input:"START" and ending at the line matching Input:"END"