-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
63 lines (61 loc) · 1.57 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
include_directories(.)
add_library(libjpeg-turbo
turbojpeg.h turbojpeg.c
jerror.c
jutils.c
jcparam.c
jcapimin.c
jcomapi.c
jcapistd.c
jdapistd.c
jdapimin.c
jdhuff.c
jdatadst-tj.c
jdatasrc-tj.c
transupp.c
jdtrans.c
jctrans.c
jcmaster.c
jmemmgr.c
jcmarker.c
jcinit.c
jdmaster.c
jdmarker.c
jdinput.c
jdarith.c
jdphuff.c
jdcoefct.c
jcarith.c
jcphuff.c
jchuff.c
jmemnobs.c
jccolor.c
jcsample.c
jcprepct.c
jcdctmgr.c
jccoefct.c
jcmainct.c
jquant1.c
jquant2.c
jdmerge.c
jdcolor.c
jdsample.c
jdpostct.c
jddctmgr.c
jdmainct.c
jsimd_none.c
jfdctint.c
jfdctfst.c
jfdctflt.c
jidctred.c
jidctint.c
jidctfst.c
jidctflt.c
jaricom.c)
if (NOT MSVC)
target_compile_options(libjpeg-turbo PRIVATE -Wno-misleading-indentation
-Wno-unused-but-set-variable -Wno-unused-label
-Wno-implicit-fallthrough -Wno-attributes
-Wno-shift-negative-value)
endif()
target_include_directories(libjpeg-turbo PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})