mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-08 22:11:09 +00:00
16 lines
487 B
CMake
16 lines
487 B
CMake
cmake_minimum_required( VERSION 2.4 )
|
|
|
|
if( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" )
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fomit-frame-pointer" )
|
|
endif( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" )
|
|
|
|
add_definitions( -DBZ_NO_STDIO )
|
|
add_library( bz2
|
|
blocksort.c
|
|
bzlib.c
|
|
compress.c
|
|
crctable.c
|
|
decompress.c
|
|
huffman.c
|
|
randtable.c )
|
|
target_link_libraries( bz2 )
|