mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Add missing module_dir property
This commit is contained in:
parent
7aeebec946
commit
4069936ee4
@ -41,6 +41,7 @@ endif()
|
||||
set_target_properties (parallel_test PROPERTIES
|
||||
FOLDER test/fortran
|
||||
LINKER_LANGUAGE Fortran
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/static
|
||||
)
|
||||
endif ()
|
||||
|
||||
|
@ -32,6 +32,7 @@ foreach (example ${examples})
|
||||
set_target_properties (hl_f90_ex_${example} PROPERTIES
|
||||
LINKER_LANGUAGE Fortran
|
||||
FOLDER examples/hl/fortran
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/static
|
||||
)
|
||||
endforeach ()
|
||||
|
||||
|
@ -37,6 +37,7 @@ macro (ADD_H5_FORTRAN_EXE file)
|
||||
set_target_properties (hl_f90_${file} PROPERTIES
|
||||
LINKER_LANGUAGE Fortran
|
||||
FOLDER test/hl/fortran
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/static
|
||||
)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
add_executable (hl_f90_${file}-shared ${file}.F90)
|
||||
|
Loading…
Reference in New Issue
Block a user