mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-02-25 10:20:03 +01:00
fix zlib include
This commit is contained in:
parent
8e0d30cd5c
commit
2b732d72c8
@ -59,6 +59,8 @@ if(USE_SYSTEM_ZLIB)
|
|||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Error! USE_SYSTEM_ZLIB is set but neccessary developer files are missing")
|
message(FATAL_ERROR "Error! USE_SYSTEM_ZLIB is set but neccessary developer files are missing")
|
||||||
endif()
|
endif()
|
||||||
|
else()
|
||||||
|
include_directories(${CMAKE_SOURCE_DIR}/Engine/zlib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# RAKE! Where to install the binaries.
|
# RAKE! Where to install the binaries.
|
||||||
|
@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
typedef unsigned char Byte; // !!! FIXME: not sure why I suddenly needed this typedef here.
|
typedef unsigned char Byte; // !!! FIXME: not sure why I suddenly needed this typedef here.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Engine/zlib/zlib.h>
|
#include <zlib.h>
|
||||||
extern CTCriticalSection zip_csLock; // critical section for access to zlib functions
|
extern CTCriticalSection zip_csLock; // critical section for access to zlib functions
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include <Engine/Base/Stream.h>
|
#include <Engine/Base/Stream.h>
|
||||||
#include <Engine/Network/Compression.h>
|
#include <Engine/Network/Compression.h>
|
||||||
#include <Engine/Base/Synchronization.h>
|
#include <Engine/Base/Synchronization.h>
|
||||||
#include <Engine/zlib/zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
extern CTCriticalSection zip_csLock; // critical section for access to zlib functions
|
extern CTCriticalSection zip_csLock; // critical section for access to zlib functions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user