summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-01 21:43:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-01 21:43:50 (GMT)
commit5d311b35baf5a147c44bedf66d387762c88185bd (patch)
treef783e86c319474416465e4839b73f7a336cc1bfc /hl
parente5dbc90ad2646aaf0ca3e30dce659a70291345d9 (diff)
downloadhdf5-5d311b35baf5a147c44bedf66d387762c88185bd.zip
hdf5-5d311b35baf5a147c44bedf66d387762c88185bd.tar.gz
hdf5-5d311b35baf5a147c44bedf66d387762c88185bd.tar.bz2
[svn-r27661] Always use static mod files.
Diffstat (limited to 'hl')
-rw-r--r--hl/fortran/src/CMakeLists.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index 5df4e1d..4047a97 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -36,19 +36,13 @@ set_target_properties (H5HL_buildiface PROPERTIES
Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}
)
-if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
- if (WIN32)
- set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared/\${BUILD_TYPE})
- else (WIN32)
- set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared)
- endif (WIN32)
-else (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
+if (NOT SKIP_HDF5_FORTRAN_SHARED)
if (WIN32)
set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static/\${BUILD_TYPE})
else (WIN32)
set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static)
endif (WIN32)
-endif (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
+endif (NOT SKIP_HDF5_FORTRAN_SHARED)
#-----------------------------------------------------------------------------
# Setup include Directories