qzdoom/bzip2/CMakeLists.txt
Rachael Alexanderson 742d6ff420 Revert "Merge branch 'asmjitupdate' of https://github.com/coelckers/gzdoom"
This reverts commit a005a8c65f, reversing
changes made to 7db7d856c2.
2019-08-05 21:00:29 -04:00

18 lines
383 B
CMake

cmake_minimum_required( VERSION 2.8.7 )
make_release_only()
if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fomit-frame-pointer" )
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 )