mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 02:45:32 +00:00
Fix part about Breakpad in server's CMakeLists
This commit is contained in:
parent
e7567020bb
commit
b06a2f3119
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,6 @@ option(BUILD_WITH_PAWN "Enable Pawn language" OFF)
|
|||
option(ENABLE_BREAKPAD "Enable Google Breakpad for Crash reporting" OFF)
|
||||
|
||||
if(ENABLE_BREAKPAD)
|
||||
|
||||
endif(ENABLE_BREAKPAD)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_BREAKPAD")
|
||||
if (UNIX)
|
||||
set(Breakpad_Headers "${CMAKE_SOURCE_DIR}/extern/breakpad/src/client/linux")
|
||||
|
@ -15,6 +13,8 @@ endif(ENABLE_BREAKPAD)
|
|||
set(Breakpad_Library "${CMAKE_SOURCE_DIR}/extern/breakpad/src/client/windows/libbreakpad_client.a")
|
||||
endif (UNIX)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/extern/breakpad/src ${Breakpad_Headers})
|
||||
endif(ENABLE_BREAKPAD)
|
||||
|
||||
if(BUILD_WITH_PAWN)
|
||||
|
||||
add_subdirectory(amx)
|
||||
|
|
Loading…
Reference in a new issue