1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

CMake: massive rework for Mac build and other improvements

- macOS: RPATH-related code all removed or disabled
- macOS: new osx/CMakeLists.txt to run some install-code running after all subdirectories
- Assets copying into the runtime output directory implemented for Mac and Linux development
This commit is contained in:
Arseniy Shestakov
2017-08-12 21:58:09 +03:00
parent 7dca95c8cc
commit 40af43c46e
14 changed files with 137 additions and 125 deletions

View File

@@ -452,7 +452,7 @@ bfs::path VCMIDirsOSX::userConfigPath() const { return userDataPath() / "config"
std::vector<bfs::path> VCMIDirsOSX::dataPaths() const
{
return std::vector<bfs::path>(1, "../Data");
return std::vector<bfs::path>(1, "../Resources/Data");
}
bfs::path VCMIDirsOSX::libraryPath() const { return "."; }