mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
9 lines
No EOL
273 B
CMake
9 lines
No EOL
273 B
CMake
make_release_only()
|
|
|
|
if (MSVC)
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244" )
|
|
endif()
|
|
|
|
add_library( miniz miniz.c )
|
|
target_compile_definitions( miniz PRIVATE -DMINIZ_NO_STDIO )
|
|
target_include_directories( miniz INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>" ) |