fix MI_SHOW_ERRORS on msvc

This commit is contained in:
daan 2020-04-28 11:11:23 -07:00
parent 8f5710abcc
commit 9a33f23b5f
2 changed files with 5 additions and 3 deletions

View file

@ -116,8 +116,6 @@ endif()
if(MI_SHOW_ERRORS MATCHES "ON")
message(STATUS "Enable printing of error and warning messages by default (MI_SHOW_ERRORS=ON)")
list(APPEND mi_defines MI_SHOW_ERRORS=1)
else()
list(APPEND mi_defines MI_SHOW_ERRORS=0)
endif()
if(MI_USE_CXX MATCHES "ON")