summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-10 15:52:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-10 15:52:06 (GMT)
commit82709178aa25d726224d91df2b9e51b626137922 (patch)
treef8fe18bbad7ab4f649a393351181aa08b213f1e6
parent850ec7a30a3e7cb9fb5727f1819a182dcebbe25d (diff)
downloadhdf5-82709178aa25d726224d91df2b9e51b626137922.zip
hdf5-82709178aa25d726224d91df2b9e51b626137922.tar.gz
hdf5-82709178aa25d726224d91df2b9e51b626137922.tar.bz2
HDFFV-10385 includes cleanup
-rw-r--r--fortran/test/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/fortran/test/CMakeLists.txt b/fortran/test/CMakeLists.txt
index 0af4df9..7842359 100644
--- a/fortran/test/CMakeLists.txt
+++ b/fortran/test/CMakeLists.txt
@@ -4,7 +4,7 @@ PROJECT (HDF5_FORTRAN_TESTS C CXX Fortran)
#-----------------------------------------------------------------------------
# Setup include Directories
#-----------------------------------------------------------------------------
-INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${HDF5_F90_SRC_DIR}/src)
+INCLUDE_DIRECTORIES (${CMAKE_Fortran_MODULE_DIRECTORY} ${HDF5_F90_BINARY_DIR} ${HDF5_F90_SRC_DIR}/src)
#-----------------------------------------------------------------------------
# Setup the Fortran auto-detection utilities
@@ -39,8 +39,6 @@ endif ()
file (MAKE_DIRECTORY "${HDF5_F90_BINARY_DIR}/static")
set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static/${HDF5_CFG_BUILD_TYPE})
-INCLUDE_DIRECTORIES (${CMAKE_Fortran_MODULE_DIRECTORY} ${MOD_BUILD_DIR})
-
#-----------------------------------------------------------------------------
# Add Test Lib
#-----------------------------------------------------------------------------