mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
c821b9c2d6
Reestablished a few initially removed features to use library's source code without modifications and updated readme file accordingly http://www.ijg.org/ http://www.ijg.org/files/jpegsrc.v9c.tar.gz
36 lines
637 B
CMake
36 lines
637 B
CMake
cmake_minimum_required( VERSION 2.8.7 )
|
|
|
|
make_release_only()
|
|
|
|
if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
|
|
endif()
|
|
|
|
add_library( jpeg
|
|
jaricom.c
|
|
jcomapi.c
|
|
jdapimin.c
|
|
jdapistd.c
|
|
jdarith.c
|
|
jdatasrc.c
|
|
jdcoefct.c
|
|
jdcolor.c
|
|
jddctmgr.c
|
|
jdhuff.c
|
|
jdinput.c
|
|
jdmainct.c
|
|
jdmarker.c
|
|
jdmaster.c
|
|
jdmerge.c
|
|
jdpostct.c
|
|
jdsample.c
|
|
jerror.c
|
|
jidctflt.c
|
|
jidctfst.c
|
|
jidctint.c
|
|
jmemansi.c
|
|
jmemmgr.c
|
|
jquant1.c
|
|
jquant2.c
|
|
jutils.c )
|
|
target_link_libraries( jpeg )
|