summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-07-31 17:45:03 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-07-31 17:45:03 +0000
commitc945c6eba8941f21c6f6a832fe37903330863b0d (patch)
tree6735fae0c531f7580aa3a6246ce0a7d5d9b1250e
parent76a08a78847b74a13795ffdcf64417de3fa0ec52 (diff)
If we need Mono, but don't find it, then fail early
Self-reviewed.
-rw-r--r--indra/cmake/MonoEmbed.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/MonoEmbed.cmake b/indra/cmake/MonoEmbed.cmake
index a310cd9bac..0f1f23309c 100644
--- a/indra/cmake/MonoEmbed.cmake
+++ b/indra/cmake/MonoEmbed.cmake
@@ -25,11 +25,11 @@ IF (DARWIN)
SET(MONO_LIB_DIRECTORY ${MONO_LIBRARY}/Libraries)
IF (MONO_LIBRARY AND MONO_GLIB_LIBRARY AND GLIB_CONFIG)
- MESSAGE("-- Found Mono for embedding")
+ MESSAGE(STATUS "Found Mono for embedding")
INCLUDE_DIRECTORIES(${MONO_GLIB_LIBRARY} ${GLIB_CONFIG})
LINK_DIRECTORIES(${MONO_LIB_DIRECTORY})
ELSE (MONO_LIBRARY AND MONO_GLIB_LIBRARY AND GLIB_CONFIG)
- MESSAGE("-- Mono not found for embedding")
+ MESSAGE(FATAL_ERROR "Mono not found for embedding")
MESSAGE(${MONO_LIBRARY})
MESSAGE(${MONO_GLIB_LIBRARY})
MESSAGE(${GLIB_CONFIG})