Skip to content

Commit

Permalink
Fix build on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Mar 5, 2020
1 parent c769711 commit ce1b017
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions external/minizip/CMakeLists.txt
Expand Up @@ -36,10 +36,8 @@ elseif (NOT WIN32)
)

target_link_libraries(external_minizip INTERFACE external_minizip_bundled)
endif()

if (NOT DESKTOP_APP_USE_PACKAGED AND NOT LINUX)
target_include_directories(external_minizip_bundled SYSTEM
else()
target_include_directories(external_minizip SYSTEM
INTERFACE
${libs_loc}/zlib/contrib/minizip
)
Expand Down

0 comments on commit ce1b017

Please sign in to comment.