mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 11:54:00 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user