fixed 1.0.0 version for 2015

This commit is contained in:
Martin Felis
2015-06-11 14:01:41 +02:00
parent 40a11244dd
commit e5de3ba244
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ FIND_PACKAGE (SDL_net REQUIRED)
FIND_PACKAGE (OpenGL REQUIRED)
FIND_PACKAGE (PNG REQUIRED)
FIND_PACKAGE (FreeType2 REQUIRED)
FIND_PACKAGE (Boost COMPONENTS filesystem REQUIRED)
FIND_PACKAGE (Boost COMPONENTS filesystem system REQUIRED)
ADD_SUBDIRECTORY ( libraries )
+2 -2
View File
@@ -117,13 +117,13 @@ class Engine : public Module {
* \brief it
*/
std::string GetResourceFullPath (const std::string &resource) {
return boost::filesystem::path(mGameDataPath + resource).file_string();
return boost::filesystem::path(mGameDataPath + resource).string();
};
/** \brief Returns the path to a file by prepending the user data path to it
*/
std::string GetUserDirFullPath (const std::string &path) {
return boost::filesystem::path(mUserDataPath + path).file_string();
return boost::filesystem::path(mUserDataPath + path).string();
};
private: