1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

* Fixed BreakPad on win32, I hope.

This commit is contained in:
Christian Muehlhaeuser
2011-09-28 00:21:17 +02:00
parent d901f0ba86
commit 42d8476ea1
5 changed files with 16 additions and 15 deletions

View File

@@ -66,7 +66,7 @@ IF(UNIX)
ENDIF(UNIX)
IF(WIN32)
ADD_DEFINITIONS( -DUNICODE )
ADD_DEFINITIONS( -DUNICODE -fshort-wchar )
SET( breakpadSources
client/windows/handler/exception_handler.cc
client/windows/crash_generation/crash_generation_client.cc
@@ -77,5 +77,9 @@ ENDIF(WIN32)
INCLUDE_DIRECTORIES(.)
ADD_DEFINITIONS( -fPIC )
ADD_LIBRARY( tomahawk_breakpad STATIC ${breakpadSources} )
IF(WIN32)
ADD_LIBRARY( tomahawk_breakpad SHARED ${breakpadSources} )
ELSE()
ADD_LIBRARY( tomahawk_breakpad STATIC ${breakpadSources} )
ENDIF()
TARGET_LINK_LIBRARIES( tomahawk_breakpad )