if(MSVC) add_compile_options($<$:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data else(CMAKE_C_COMPILER_ID MATCHES "Clang") add_compile_options($<$:-Wno-implicit-int-conversion>) endif() set(ZLIB_SOURCES_BASE adler32.c compress.c crc_folding.c crc32.c deflate_medium.c deflate_quick.c deflate.c inffast.c inflate.c inftrees.c match.c slide_sse.c trees.c x86.c zutil.c ) addprefix(ZLIB_SOURCES "${CMAKE_CURRENT_LIST_DIR}/zlib-intel" "${ZLIB_SOURCES_BASE}")