You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1018 B
18 lines
1018 B
11 years ago
|
Description: Define HDF5_{Fortran_,}HL_COMPILE_LINE
|
||
|
so that HDF5_{Fortran_,}HL_INCLUDE_DIR and HDF5_{Fortran_,}HL_LIBRARIES
|
||
|
are found when the macro is invoked for HL and Fortran_HL components.
|
||
|
Author: Gilles Filippini <pini@debian.org>
|
||
|
Index: cmake-2.8.12.1/Modules/FindHDF5.cmake
|
||
|
===================================================================
|
||
|
--- cmake-2.8.12.1.orig/Modules/FindHDF5.cmake 2013-11-05 20:07:22.000000000 +0100
|
||
|
+++ cmake-2.8.12.1/Modules/FindHDF5.cmake 2014-07-26 11:39:19.785790997 +0200
|
||
|
@@ -210,6 +210,8 @@
|
||
|
_HDF5_invoke_compiler( C HDF5_C_COMPILE_LINE HDF5_C_RETURN_VALUE )
|
||
|
_HDF5_invoke_compiler( CXX HDF5_CXX_COMPILE_LINE HDF5_CXX_RETURN_VALUE )
|
||
|
_HDF5_invoke_compiler( Fortran HDF5_Fortran_COMPILE_LINE HDF5_Fortran_RETURN_VALUE )
|
||
|
+ set(HDF5_HL_COMPILE_LINE ${HDF5_C_COMPILE_LINE})
|
||
|
+ set(HDF5_Fortran_HL_COMPILE_LINE ${HDF5_Fortran_COMPILE_LINE})
|
||
|
|
||
|
# seed the initial lists of libraries to find with items we know we need
|
||
|
set( HDF5_C_LIBRARY_NAMES_INIT hdf5 )
|