mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
PubUtilLib -> cmake part II
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
include_directories("../../CoreLib")
|
||||
include_directories("../../NucleusLib/inc")
|
||||
include_directories("../../NucleusLib")
|
||||
include_directories("../../PubUtilLib")
|
||||
|
||||
find_package(JPEG REQUIRED)
|
||||
include_directories(${JPEG_INCLUDE_DIR})
|
||||
|
||||
set(plJPEG_SOURCES
|
||||
plJPEG.cpp
|
||||
)
|
||||
|
||||
set(plJPEG_HEADERS
|
||||
plJPEG.h
|
||||
)
|
||||
|
||||
add_library(plJPEG STATIC ${plJPEG_SOURCES} ${plJPEG_HEADERS})
|
||||
|
||||
source_group("Source Files" FILES ${plJPEG_SOURCES})
|
||||
source_group("Header Files" FILES ${plJPEG_HEADERS})
|
@ -39,17 +39,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsStream.h"
|
||||
#include "hsExceptions.h"
|
||||
#include "hsUtils.h"
|
||||
#include "../plGImage/plMipmap.h"
|
||||
#include "plGImage/plMipmap.h"
|
||||
|
||||
#ifdef IJL_SDK_AVAILABLE
|
||||
#ifndef HS_BUILD_FOR_WIN32
|
||||
#error Currently the JPEG libraries don't build for anything but Win32. If you're building this on a non-Win32 platform....WHY??
|
||||
#endif
|
||||
|
||||
#include "../../../../../StaticSDKs/Win32/IJL/include/ijl.h"
|
||||
#include <ijl.h>
|
||||
#else
|
||||
#include "jpeglib.h"
|
||||
#include "jerror.h"
|
||||
#include <jpeglib.h>
|
||||
#include <jerror.h>
|
||||
#endif
|
||||
|
||||
//// Local Statics ////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user