summaryrefslogtreecommitdiffstats
path: root/hl/fortran/examples
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-02-10 21:12:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-02-10 21:12:45 (GMT)
commit86327226ccc417d02006433aa7abd59496497d09 (patch)
treeae7ee25d6299625374010e7c26557c14ced59223 /hl/fortran/examples
parent8d8da5ba841096b5233d9d6c3ff58a7d4caa26ef (diff)
downloadhdf5-86327226ccc417d02006433aa7abd59496497d09.zip
hdf5-86327226ccc417d02006433aa7abd59496497d09.tar.gz
hdf5-86327226ccc417d02006433aa7abd59496497d09.tar.bz2
[svn-r20079] Correct Fortran handling in CMake files
Tested: local: linux
Diffstat (limited to 'hl/fortran/examples')
-rw-r--r--hl/fortran/examples/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/hl/fortran/examples/CMakeLists.txt b/hl/fortran/examples/CMakeLists.txt
index 698407d..2f56297 100644
--- a/hl/fortran/examples/CMakeLists.txt
+++ b/hl/fortran/examples/CMakeLists.txt
@@ -4,12 +4,10 @@ PROJECT (HDF5_HL_F90_EXAMPLES C CXX Fortran)
#-----------------------------------------------------------------------------
# Setup include Directories
#-----------------------------------------------------------------------------
-INCLUDE_DIRECTORIES (${CMAKE_Fortran_MODULE_DIRECTORY} ${HDF5_F90_BINARY_DIR} ${HDF5_F90_SRC_DIR}/src)
-LINK_DIRECTORIES (
+INCLUDE_DIRECTORIES (
${CMAKE_Fortran_MODULE_DIRECTORY}
- ${HDF5_HL_F90_BINARY_DIR}
${HDF5_F90_BINARY_DIR}
- ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
+ ${HDF5_F90_SRC_DIR}/src
)
SET (examples