Use CMake MSVC_RUNTIME_LIBRARY to control MSVC flags

This commit is contained in:
2020-05-27 21:37:03 -04:00
parent 6c52de489f
commit dec27c05ed
3 changed files with 6 additions and 11 deletions

View File

@@ -1,7 +1,5 @@
if(NOT WIN32)
find_package(ZLIB)
endif()
if(WIN32 OR NOT ZLIB_FOUND)
if(NOT ZLIB_FOUND)
message(STATUS "Using Athena's built-in zlib")
add_library(z
adler32.c