mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 08:15:37 +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}
|
||||
${ESM_STORE} ${ESM_STORE_HEADER}
|
||||
${GAMEREND} ${GAMEREND_HEADER}
|
||||
MACOSX_BUNDLE
|
||||
# ???
|
||||
# MACOSX_BUNDLE
|
||||
${COMPONENTS} ${COMPONENTS_HEADER}
|
||||
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
||||
${APPS} ${APPS_HEADER}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <boost/program_options.hpp>
|
||||
|
||||
#include "tools/fileops.hpp"
|
||||
#include <components/misc/fileops.hpp>
|
||||
#include "engine.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#include "fileops.hpp"
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
bool isFile(const char *name)
|
||||
|
@ -9,7 +8,7 @@ bool isFile(const char *name)
|
|||
return boost::filesystem::exists(cfg_file_path);
|
||||
}
|
||||
|
||||
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
||||
#ifdef __MACOSX__
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
std::string macBundlePath()
|
||||
|
|
Loading…
Reference in a new issue