diff options
Diffstat (limited to 'hl/CMakeLists.txt')
-rw-r--r-- | hl/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hl/CMakeLists.txt b/hl/CMakeLists.txt index 2871734..9ce3043 100644 --- a/hl/CMakeLists.txt +++ b/hl/CMakeLists.txt @@ -6,6 +6,8 @@ PROJECT (HDF5_HL) #----------------------------------------------------------------------------- IF (BUILD_SHARED_LIBS) SET (HL_BUILT_AS_DYNAMIC_LIB 1) +ELSE (BUILD_SHARED_LIBS) + SET (HL_BUILT_AS_STATIC_LIB 1) ENDIF (BUILD_SHARED_LIBS) #----------------------------------------------------------------------------- |