summaryrefslogtreecommitdiff
path: root/indra/cmake/GoogleBreakpad.cmake
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-11 14:09:52 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-11 14:09:52 -0400
commite5ebea863650cacd45b05116916ca618942fe1be (patch)
tree7c8d73b6b1796bb80902f1ae6d90d374699ab05b /indra/cmake/GoogleBreakpad.cmake
parent8a5c71ea1d278beee89da04036e7923129581baf (diff)
parent8c9587225a68f9b6276f08691d1a0ddbe67edd9a (diff)
merge
Diffstat (limited to 'indra/cmake/GoogleBreakpad.cmake')
-rw-r--r--indra/cmake/GoogleBreakpad.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/cmake/GoogleBreakpad.cmake b/indra/cmake/GoogleBreakpad.cmake
new file mode 100644
index 0000000000..8270c0fabb
--- /dev/null
+++ b/indra/cmake/GoogleBreakpad.cmake
@@ -0,0 +1,19 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+if (STANDALONE)
+ MESSAGE(FATAL_ERROR "*TODO standalone support for google breakad is unimplemented")
+ # *TODO - implement this include(FindGoogleBreakpad)
+else (STANDALONE)
+ use_prebuilt_binary(google_breakpad)
+ if (DARWIN)
+ set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler)
+ endif (DARWIN)
+ if (LINUX)
+ set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES breakpad_client)
+ endif (LINUX)
+ if (WINDOWS)
+ set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler crash_generation_client common)
+ endif (WINDOWS)
+endif (STANDALONE)
+