summaryrefslogtreecommitdiffstats
path: root/External/libjpeg-9a
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-13 04:49:39 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-13 04:49:39 +0000
commitd1c2c04e3ee11a747e2de3b787be3fd76cfe6f39 (patch)
tree496a71918242f5fc55339419e60bea1e7ed408f0 /External/libjpeg-9a
parentReplaced #ifdef ENGINE_DLL with #if ENGINE_DLL (diff)
downloadDiligentTools-d1c2c04e3ee11a747e2de3b787be3fd76cfe6f39.tar.gz
DiligentTools-d1c2c04e3ee11a747e2de3b787be3fd76cfe6f39.zip
Fixed formatting of cmake files
Diffstat (limited to 'External/libjpeg-9a')
-rw-r--r--External/libjpeg-9a/CMakeLists.txt128
1 files changed, 64 insertions, 64 deletions
diff --git a/External/libjpeg-9a/CMakeLists.txt b/External/libjpeg-9a/CMakeLists.txt
index a93bec5..d74585f 100644
--- a/External/libjpeg-9a/CMakeLists.txt
+++ b/External/libjpeg-9a/CMakeLists.txt
@@ -3,64 +3,64 @@ cmake_minimum_required (VERSION 3.6)
project(LibJpeg C)
set(SOURCE
- 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
+ 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(INCLUDE
- jconfig.h
- jdct.h
- jerror.h
- jinclude.h
- jmemsys.h
- jmorecfg.h
- jpegint.h
- jpeglib.h
- jversion.h
+ jconfig.h
+ jdct.h
+ jerror.h
+ jinclude.h
+ jmemsys.h
+ jmorecfg.h
+ jpegint.h
+ jpeglib.h
+ jversion.h
)
add_library(LibJpeg STATIC ${SOURCE} ${INCLUDE})
@@ -71,19 +71,19 @@ target_include_directories(LibJpeg PUBLIC .)
target_link_libraries(LibJpeg PRIVATE BuildSettings)
if(MSVC)
- # Disable MSVC-specific warnings
- # - w4244: '+=': conversion from 'int' to 'JCOEF', possible loss of data
- # - w4127: conditional expression is constant
- target_compile_options(LibJpeg PRIVATE /wd4244 /wd4127)
- target_compile_definitions(LibJpeg PRIVATE -D_CRT_SECURE_NO_WARNINGS)
- if(PLATFORM_UNIVERSAL_WINDOWS)
- target_compile_definitions(LibJpeg PRIVATE -DNO_GETENV)
- endif()
+ # Disable MSVC-specific warnings
+ # - w4244: '+=': conversion from 'int' to 'JCOEF', possible loss of data
+ # - w4127: conditional expression is constant
+ target_compile_options(LibJpeg PRIVATE /wd4244 /wd4127)
+ target_compile_definitions(LibJpeg PRIVATE -D_CRT_SECURE_NO_WARNINGS)
+ if(PLATFORM_UNIVERSAL_WINDOWS)
+ target_compile_definitions(LibJpeg PRIVATE -DNO_GETENV)
+ endif()
endif(MSVC)
source_group("src" FILES ${SOURCE})
source_group("include" FILES ${INCLUDE})
set_target_properties(LibJpeg PROPERTIES
- FOLDER Tools/External
+ FOLDER Tools/External
) \ No newline at end of file