From 7abecb48babe6a6f09bf6692ba55076546cfced9 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Mon, 1 Dec 2008 17:39:58 -0600 Subject: Second Life viewer sources 1.22.0-RC --- linden/indra/cmake/FindMono.cmake | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'linden/indra/cmake/FindMono.cmake') diff --git a/linden/indra/cmake/FindMono.cmake b/linden/indra/cmake/FindMono.cmake index f0a0705..c36d725 100644 --- a/linden/indra/cmake/FindMono.cmake +++ b/linden/indra/cmake/FindMono.cmake @@ -14,29 +14,29 @@ # Removed the check for gmcs FIND_PROGRAM (MONO_EXECUTABLE mono - "C:/Program Files/Mono-1.9.1/bin" - "C:/Program Files/Mono-1.2.6/bin" + "$ENV{PROGRAMFILES}/Mono-1.9.1/bin" + "$ENV{PROGRAMFILES}/Mono-1.2.6/bin" /bin /usr/bin /usr/local/bin ) FIND_PROGRAM (MCS_EXECUTABLE mcs - "C:/Program Files/Mono-1.9.1/bin" - "C:/Program Files/Mono-1.2.6/bin" + "$ENV{PROGRAMFILES}/Mono-1.9.1/bin" + "$ENV{PROGRAMFILES}/Mono-1.2.6/bin" /bin /usr/bin /usr/local/bin ) FIND_PROGRAM (GMCS_EXECUTABLE gmcs - "C:/Program Files/Mono-1.9.1/bin" - "C:/Program Files/Mono-1.2.6/bin" + "$ENV{PROGRAMFILES}/Mono-1.9.1/bin" + "$ENV{PROGRAMFILES}/Mono-1.2.6/bin" /bin /usr/bin /usr/local/bin ) FIND_PROGRAM (GACUTIL_EXECUTABLE gacutil - "C:/Program Files/Mono-1.9.1/bin" - "C:/Program Files/Mono-1.2.6/bin" + "$ENV{PROGRAMFILES}/Mono-1.9.1/bin" + "$ENV{PROGRAMFILES}/Mono-1.2.6/bin" /bin /usr/bin /usr/local/bin @@ -44,7 +44,7 @@ FIND_PROGRAM (GACUTIL_EXECUTABLE gacutil FIND_PROGRAM (ILASM_EXECUTABLE ilasm NO_DEFAULT_PATH - PATHS "C:/Program Files/Mono-1.9.1/bin" "C:/Apps/Mono-1.2.6/bin" "C:/Program Files/Mono-1.2.6/bin" /bin /usr/bin /usr/local/bin + PATHS "$ENV{PROGRAMFILES}/Mono-1.9.1/bin" "$ENV{PROGRAMFILES}/Mono-1.2.6/bin" /bin /usr/bin /usr/local/bin ) SET (MONO_FOUND FALSE) -- cgit v1.1