mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-05 20:40:30 +00:00
1993e969b7
SVN r3154 (trunk)
20 lines
382 B
CMake
20 lines
382 B
CMake
cmake_minimum_required( VERSION 2.4 )
|
|
|
|
if( CMAKE_COMPILER_IS_GNUC )
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -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 )
|