speed-dreams-code/packaging/3rdParty-devel/patches/jpeg-9c.CMakeLists.txt
beaglejoe 47b5072c34 Updated to SDL2-2.0.9, expat-2.2.6, zlib-1.2.11, curl-7.62.0, removed obsolete files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6558 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 186be9a233a3efecd17a4c6769238eed9df6ce78
Former-commit-id: 802346373d0faee6914be123dda1ff3350882384
2018-11-08 22:38:05 +00:00

108 lines
No EOL
3.1 KiB
Text

#
#==============================================================================
#
# file : CMakeLists.txt
# created : Aug 8 2015
# copyright : (C) 2015 Joe Thompson
# email : beaglejoe@users.sourceforge.net
# version : $Id:$
#
#==============================================================================
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#==============================================================================
#
cmake_minimum_required(VERSION 2.8)
project(jpeg C)
set(VERSION "9c")
include_directories(include)
set(jpeg_SOURCES jaricom.c
jcapimin.c
jcapistd.c
jcarith.c
jccoefct.c
jccolor.c
jcdctmgr.c
jchuff.c
jcinit.c
jcmainct.c
jcmarker.c
jcmaster.c
jcomapi.c
jcparam.c
jcprepct.c
jcsample.c
jctrans.c
jdapimin.c
jdapistd.c
jdarith.c
jdatadst.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
jdtrans.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
jutils.c
)
set(jpeg_HEADERS jconfig.h
jdct.h
jerror.h
jinclude.h
jmemsys.h
jmorecfg.h
jpegint.h
jpeglib.h
jversion.h
)
add_library(jpeg STATIC ${jpeg_SOURCES} ${jpeg_HEADERS})
install(FILES jconfig.h
jerror.h
jmorecfg.h
jpeglib.h
DESTINATION include)
install(TARGETS jpeg
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)