gzdoom-gles/jpeg/CMakeLists.txt
William Breathitt Gray f31e0bcd85 Force STATIC for internal GZDoom libraries
This makes sure the internal versions of these libraries bundled with
the GZDoom source code is used. This prevents the system from building
GZDoom for dynamic linking with incompatible external libraries (see
<https://forum.zdoom.org/viewtopic.php?f=2&t=64633>).

# Conflicts:
#	glslang/glslang/CMakeLists.txt
#	glslang/spirv/CMakeLists.txt
2019-05-18 22:49:07 +02:00

36 lines
644 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 STATIC
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 )