summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/src/CMakeLists.txt18
1 files changed, 0 insertions, 18 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 0dae501..d4141d9 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -62,14 +62,6 @@ set_target_properties (H5_buildiface PROPERTIES
Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}
)
-#set (CMD $<TARGET_FILE:H5_buildiface>)
-#add_custom_command (
-# OUTPUT ${HDF5_F90_BINARY_DIR}/H5_gen.F90
-# COMMAND ${CMD}
-# WORKING_DIRECTORY ${HDF5_F90_BINARY_DIR}
-# DEPENDS H5_buildiface
-#)
-
INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${CMAKE_Fortran_MODULE_DIRECTORY})
#-----------------------------------------------------------------------------
add_executable (H5match_types
@@ -172,16 +164,6 @@ add_custom_target (H5gen ALL
set_source_files_properties (${f90_F_SRCS} PROPERTIES LANGUAGE Fortran)
-# Not implemented in cmake VS >=10
-#set_source_files_properties (${HDF5_F90_BINARY_DIR}/H5_gen.F90
-# PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS}"
-#)
-
-set_source_files_properties(
- ${HDF5_F90_BINARY_DIR}/HDF5.F90
- PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS} ${HDF5_F90_BINARY_DIR}/H5_gen.F90"
-)
-
#-----------------------------------------------------------------------------
# Add Main fortran library
#-----------------------------------------------------------------------------