Skip to content

Commit

Permalink
define ZIP_STATIC for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 2, 2024
1 parent 9463a31 commit aa023e1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 224 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ endif()
set(HDF5_USE_STATIC_LIBRARIES ON)
if(WINDOWS OR WIN32 OR WIN64)
set(HDF5_USE_STATIC_LIBRARIES OFF)
add_definitions(-DZIP_STATIC)
endif ()
#CMakeList.txt that comes with hdf5 switches library name if compiled with debug
find_package(HDF5 COMPONENTS HL CXX C)
Expand Down
13 changes: 0 additions & 13 deletions cmake/modules/CorrectWindowsPaths.cmake

This file was deleted.

106 changes: 0 additions & 106 deletions cmake/modules/FindPackageMultipass.cmake

This file was deleted.

105 changes: 0 additions & 105 deletions cmake/modules/ResolveCompilerPaths.cmake

This file was deleted.

1 change: 1 addition & 0 deletions pyvcell-fvsolver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ add_definitions(-DUNIX)
set(HDF5_USE_STATIC_LIBRARIES ON)
if(WINDOWS OR WIN32 OR WIN64)
set(HDF5_USE_STATIC_LIBRARIES OFF)
add_definitions(-DZIP_STATIC)
endif ()
#CMakeList.txt that comes with hdf5 switches library name if compiled with debug
find_package(HDF5 COMPONENTS HL CXX C)
Expand Down

0 comments on commit aa023e1

Please sign in to comment.