This expands on #777 to work with jconfig.h properly. To facilitate these operations, a new macro was added for doing compile tests. Note that this commit does NOT bring in the other files associated with this version of libjpeg. At some point, it would be desirable to automatically get the files as part of the cmake configuration step, similar to ffmpeg.
16 lines
405 B
CMake
16 lines
405 B
CMake
include(CMakeProject-lua.cmake)
|
|
include(CMakeProject-glew.cmake)
|
|
include(CMakeProject-json.cmake)
|
|
if (APPLE OR MSVC)
|
|
include(CMakeProject-mad.cmake)
|
|
include(CMakeProject-zlib.cmake)
|
|
include(CMakeProject-jpeg.cmake)
|
|
endif()
|
|
if (NOT SYSTEM_PCRE_FOUND)
|
|
include(CMakeProject-pcre.cmake)
|
|
endif()
|
|
include(CMakeProject-tomcrypt.cmake)
|
|
include(CMakeProject-tommath.cmake)
|
|
include(CMakeProject-png.cmake)
|
|
|