PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/GoogleBreakpad.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 19 lines | 16 code | 2 blank | 1 comment | 5 complexity | 6493cb7b71f0e392a48f910b7b42aa0a MD5 | raw file
 1# -*- cmake -*-
 2include(Prebuilt)
 3
 4if (STANDALONE)
 5  set(BREAKPAD_EXCEPTION_HANDLER_FIND_REQUIRED ON)
 6  include(FindGoogleBreakpad)
 7else (STANDALONE)
 8  use_prebuilt_binary(google_breakpad)
 9  if (DARWIN)
10    set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler)
11  endif (DARWIN)
12  if (LINUX)
13    set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES breakpad_client)
14  endif (LINUX)
15  if (WINDOWS)
16    set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler crash_generation_client common)
17  endif (WINDOWS)
18endif (STANDALONE)
19