mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Minor fixes to Mac stuff
This commit is contained in:
parent
97ad6592ea
commit
b97def39b3
3 changed files with 4 additions and 4 deletions
|
@ -241,7 +241,8 @@ add_executable(openmw
|
||||||
${GAME}
|
${GAME}
|
||||||
${ESM_STORE} ${ESM_STORE_HEADER}
|
${ESM_STORE} ${ESM_STORE_HEADER}
|
||||||
${GAMEREND} ${GAMEREND_HEADER}
|
${GAMEREND} ${GAMEREND_HEADER}
|
||||||
MACOSX_BUNDLE
|
# ???
|
||||||
|
# MACOSX_BUNDLE
|
||||||
${COMPONENTS} ${COMPONENTS_HEADER}
|
${COMPONENTS} ${COMPONENTS_HEADER}
|
||||||
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
||||||
${APPS} ${APPS_HEADER}
|
${APPS} ${APPS_HEADER}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
|
|
||||||
#include "tools/fileops.hpp"
|
#include <components/misc/fileops.hpp>
|
||||||
#include "engine.hpp"
|
#include "engine.hpp"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "fileops.hpp"
|
#include "fileops.hpp"
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
bool isFile(const char *name)
|
bool isFile(const char *name)
|
||||||
|
@ -9,7 +8,7 @@ bool isFile(const char *name)
|
||||||
return boost::filesystem::exists(cfg_file_path);
|
return boost::filesystem::exists(cfg_file_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
#ifdef __MACOSX__
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
|
|
||||||
std::string macBundlePath()
|
std::string macBundlePath()
|
||||||
|
|
Loading…
Reference in a new issue