Skip to content

Commit

Permalink
Tweaking Windows build settings
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Minor <jminor@users.noreply.github.com>
  • Loading branch information
jminor committed Nov 14, 2024
1 parent 63eb43d commit cb245b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ if(NOT EMSCRIPTEN AND NOT WIN32)
add_subdirectory("libs/glfw")
endif()

# minizip-ng
set(BUILD_SHARED_LIBS OFF)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(MZ_FETCH_LIBS ON)
set(MZ_ZLIB ON)
# OTIOZ doesn't need any of these
set(MZ_BZIP2 OFF)
set(MZ_LZMA OFF)
set(MZ_ZSTD OFF)
Expand All @@ -77,8 +83,6 @@ set(MZ_OPENSSL OFF)
set(MZ_BCRYPT OFF)
set(MZ_LIBBSD OFF)
set(MZ_ICONV OFF)
set(MZ_ZLIB ON)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_subdirectory("libs/minizip-ng")

if(NOT EMSCRIPTEN)
Expand Down

0 comments on commit cb245b8

Please sign in to comment.