Skip to content

Commit

Permalink
refs modelica#3746 Silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Jan 29, 2024
1 parent eb0cb56 commit f3e5a96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modelica/Resources/BuildProjects/CMake/src.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ if(HAVE_WINAPIFAMILY_H)
target_compile_definitions(zlib PUBLIC -DWINAPI_FAMILY=100)
endif()
target_compile_definitions(ModelicaMatIO PUBLIC -DHAVE_ZLIB=1)
if(MSVC)
target_compile_options(ModelicaMatIO PUBLIC /wd4267)
endif()

install(
TARGETS ModelicaStandardTables ModelicaMatIO ModelicaIO zlib
Expand Down

0 comments on commit f3e5a96

Please sign in to comment.