diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-06-14 10:55:25 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-06-14 10:55:25 -0700 |
commit | baf9b3cb078c04b019fccc4ae8a54db05b14bdef (patch) | |
tree | aa422043ec900036716d35e73240efc9df152d32 /indra/cmake/GoogleBreakpad.cmake | |
parent | 76cf9e29a77566c10da6184833fad6b0912e9688 (diff) | |
parent | fbc95fe7e77ed093f8f7938a4755ce6b175dcaff (diff) |
Merge
Diffstat (limited to 'indra/cmake/GoogleBreakpad.cmake')
-rw-r--r-- | indra/cmake/GoogleBreakpad.cmake | 19 |
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) + |