mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 10:21:42 +00:00
de5d4715c2
CMake 2.4, since the distros don't seem to consider 2.6 stable yet. As a bonus, GTK+ is no longer a required dependency; now it's optional. - Made dehsupp ignore CR characters, so it doesn't spew warnings on Linux. SVN r1092 (trunk)
20 lines
374 B
CMake
20 lines
374 B
CMake
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_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 )
|