mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 05:23:33 +08:00
[LIBJPEG] Add a PCH.
This commit is contained in:
parent
9d67a24799
commit
d05c658dbd
7
dll/3rdparty/libjpeg/CMakeLists.txt
vendored
7
dll/3rdparty/libjpeg/CMakeLists.txt
vendored
@ -10,7 +10,7 @@ include_directories(
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libjpeg
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
|
||||
|
||||
add_library(libjpeg SHARED
|
||||
list(APPEND SOURCE
|
||||
jaricom.c
|
||||
jcapimin.c
|
||||
jcapistd.c
|
||||
@ -56,8 +56,11 @@ add_library(libjpeg SHARED
|
||||
jquant2.c
|
||||
jutils.c
|
||||
jmemmgr.c
|
||||
jmemnobs.c)
|
||||
jmemnobs.c
|
||||
precomp.h)
|
||||
|
||||
add_library(libjpeg SHARED ${SOURCE})
|
||||
set_module_type(libjpeg win32dll)
|
||||
add_importlibs(libjpeg msvcrt kernel32)
|
||||
add_pch(libjpeg precomp.h SOURCE)
|
||||
add_cd_file(TARGET libjpeg DESTINATION reactos/system32 FOR all)
|
||||
|
8
dll/3rdparty/libjpeg/precomp.h
vendored
Normal file
8
dll/3rdparty/libjpeg/precomp.h
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef _LIBJPEG_PRECOMP_H_
|
||||
#define _LIBJPEG_PRECOMP_H_
|
||||
|
||||
#define JPEG_INTERNALS
|
||||
#include "jinclude.h"
|
||||
#include "jpeglib.h"
|
||||
|
||||
#endif /* _LIBJPEG_PRECOMP_H_ */
|
Loading…
Reference in New Issue
Block a user