CMakeLists.txt:checking, tuning the build system (#232)

* build.zg.sh scripts deprected

* update for BSD

* removed checking for VLC (not implemented)

* docs updated

* Install.md created.

* scripts moved to scripts/ directory
This commit is contained in:
Andy Alt
2018-09-17 17:35:19 -05:00
committed by GitHub
parent df81c2a956
commit 7c359ca82d
44 changed files with 957 additions and 858 deletions

View File

@@ -216,11 +216,11 @@ namespace Shared {
#ifndef WIN32
string mg_icon_file = "";
#if defined(CUSTOM_DATA_INSTALL_PATH)
if (fileExists(formatPath(TOSTRING(CUSTOM_DATA_INSTALL_PATH)) + "megaglest.png")) {
mg_icon_file = formatPath(TOSTRING(CUSTOM_DATA_INSTALL_PATH)) + "megaglest.png";
} else if (fileExists(formatPath(TOSTRING(CUSTOM_DATA_INSTALL_PATH)) + "megaglest.bmp")) {
mg_icon_file = formatPath(TOSTRING(CUSTOM_DATA_INSTALL_PATH)) + "megaglest.bmp";
#if defined(DATADIR)
if (fileExists(formatPath(TOSTRING(DATADIR)) + "megaglest.png")) {
mg_icon_file = formatPath(TOSTRING(DATADIR)) + "megaglest.png";
} else if (fileExists(formatPath(TOSTRING(DATADIR)) + "megaglest.bmp")) {
mg_icon_file = formatPath(TOSTRING(DATADIR)) + "megaglest.bmp";
}
#endif