raze/libraries/bzip2/CMakeLists.txt

19 lines
323 B
Text
Raw Normal View History

2021-03-14 15:44:58 +00:00
cmake_minimum_required( VERSION 3.1.0 )
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 )