summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-08-10 09:15:29 -0400
committerOz Linden <oz@lindenlab.com>2011-08-10 09:15:29 -0400
commit1bf7869b0b697c287820293ffce9cf64c380a80c (patch)
tree2a02f0a5b53d2bcd87b558adf5ffba47df836b49
parent008d95535f67dd91c05da4c191ddf59fcc85973f (diff)
storm-1060: yet another attempt to fix windows icons
-rw-r--r--indra/newview/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 7e1d46f0e8..328cbf3936 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1256,11 +1256,13 @@ if (WINDOWS)
# ('test' is the default)
set(ICON_PATH "test")
string(TOLOWER ${VIEWER_CHANNEL} channel_lower)
- if(channel_lower MATCHES "^(release|development)")
- set(ICON_PATH ${channel_lower})
- elseif(channel_lower MATCHES "^(beta.*)")
+ if(channel_lower MATCHES "^second life release")
+ set(ICON_PATH "release")
+ elseif(channel_lower MATCHES "^second life beta viewer")
set(ICON_PATH "beta")
- elseif(channel_lower MATCHES "^(project.*)")
+ elseif(channel_lower MATCHES "^second life development")
+ set(ICON_PATH "development")
+ elseif(channel_lower MATCHES "project")
set(ICON_PATH "project")
endif()
message("Copying icons for ${ICON_PATH}")