mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
22 lines
387 B
Text
22 lines
387 B
Text
|
cmake_minimum_required( VERSION 2.6 )
|
||
|
project( z )
|
||
|
|
||
|
if( CMAKE_COMPILER_IS_GNUC )
|
||
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fomit-frame-pointer" )
|
||
|
endif( CMAKE_COMPILER_IS_GNUC )
|
||
|
|
||
|
add_library( z
|
||
|
adler32.c
|
||
|
compress.c
|
||
|
crc32.c
|
||
|
gzio.c
|
||
|
uncompr.c
|
||
|
deflate.c
|
||
|
trees.c
|
||
|
zutil.c
|
||
|
inflate.c
|
||
|
infback.c
|
||
|
inftrees.c
|
||
|
inffast.c )
|
||
|
target_link_libraries( z )
|