mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +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)
28 lines
507 B
CMake
28 lines
507 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( jpeg
|
|
jcomapi.c
|
|
jdapimin.c
|
|
jdapistd.c
|
|
jdatasrc.c
|
|
jdcoefct.c
|
|
jdcolor.c
|
|
jddctmgr.c
|
|
jdhuff.c
|
|
jdinput.c
|
|
jdmainct.c
|
|
jdmarker.c
|
|
jdmaster.c
|
|
jdmerge.c
|
|
jdphuff.c
|
|
jdpostct.c
|
|
jdsample.c
|
|
jerror.c
|
|
jidctint.c
|
|
jmemmgr.c
|
|
jutils.c )
|
|
target_link_libraries( jpeg )
|