mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-22 04:01:13 +00:00
17 lines
308 B
CMake
17 lines
308 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 )
|
|
link_libraries("-static")
|
|
target_link_libraries( bz2 )
|