1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Fixes for Linux compilation of plFontConverter

This commit is contained in:
2014-04-13 18:12:24 -07:00
parent d4465a2168
commit c78137c743
2 changed files with 3 additions and 5 deletions

View File

@ -46,11 +46,11 @@ find_package(Ogg REQUIRED) #TODO: Not required if we aren't building the clie
find_package(Vorbis REQUIRED) #TODO: Not required if we aren't building the client find_package(Vorbis REQUIRED) #TODO: Not required if we aren't building the client
find_package(Speex REQUIRED) #TODO: Not required if we aren't building the client find_package(Speex REQUIRED) #TODO: Not required if we aren't building the client
find_package(CURL REQUIRED) find_package(CURL REQUIRED)
find_package(Freetype)
if(WIN32) if(WIN32)
find_package(PhysX REQUIRED) #TODO: Not required if we aren't building the client find_package(PhysX REQUIRED) #TODO: Not required if we aren't building the client
find_package(DirectX REQUIRED) find_package(DirectX REQUIRED)
find_package(Freetype)
endif(WIN32) endif(WIN32)
find_package(Bink) #TODO: Find Bink, but don't require it if plPipeline isn't built... find_package(Bink) #TODO: Find Bink, but don't require it if plPipeline isn't built...

View File

@ -79,10 +79,6 @@ REGISTER_CREATABLE(plMipmap);
#include <functional> #include <functional>
HINSTANCE gInstance;
char *gCommandLine = nil;
HWND gMainWindow = nil;
static void IAboutDialog(QWidget *parent) static void IAboutDialog(QWidget *parent)
{ {
QDialog dlg(parent); QDialog dlg(parent);
@ -379,6 +375,7 @@ void plFontConverter::IImportBDF(const plFileName &path)
IUpdateInfo(); IUpdateInfo();
} }
#ifdef Q_OS_WIN
struct ResRecord struct ResRecord
{ {
HRSRC fHandle; HRSRC fHandle;
@ -414,6 +411,7 @@ static ResRecord DoSelectResource(const QList<ResRecord> &resources)
return ResRecord(); return ResRecord();
} }
#endif
void plFontConverter::IImportFON(const plFileName &path) void plFontConverter::IImportFON(const plFileName &path)
{ {