Minor fixes to Mac stuff

actorid
Nicolay Korslund 15 years ago
parent 97ad6592ea
commit b97def39b3

@ -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…
Cancel
Save