mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 17:02:05 +00:00
351e0d7ed9
Most were still at 3.1 which prompts noisy warnings from up-to-date CMake versions. Version requirements have been removed entirely from dependent subprojects, all others were upped to 3.16.
16 lines
282 B
CMake
16 lines
282 B
CMake
make_release_only()
|
|
|
|
if (MSVC)
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244" )
|
|
endif()
|
|
|
|
add_definitions( -DBZ_NO_STDIO )
|
|
add_library( bz2 STATIC
|
|
blocksort.c
|
|
bzlib.c
|
|
compress.c
|
|
crctable.c
|
|
decompress.c
|
|
huffman.c
|
|
randtable.c )
|
|
target_link_libraries( bz2 )
|