mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +00:00
17 lines
359 B
Text
17 lines
359 B
Text
|
cmake_minimum_required( VERSION 2.4 )
|
||
|
|
||
|
if( CMAKE_COMPILER_IS_GNUC )
|
||
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fomit-frame-pointer" )
|
||
|
endif( CMAKE_COMPILER_IS_GNUC )
|
||
|
|
||
|
add_definitions( -DBZ_NO_STDIO )
|
||
|
add_library( bzip2
|
||
|
blocksort.c
|
||
|
bzlib.c
|
||
|
compress.c
|
||
|
crctable.c
|
||
|
decompress.c
|
||
|
huffman.c
|
||
|
randtable.c )
|
||
|
target_link_libraries( bzip2 )
|