summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-23 19:11:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-23 19:11:32 +0200
commit82d38a7ed6f1238909c6a493b002a9d4cafe548d (patch)
treedd2fc501e8fc22d7826c4dd687865ad9c78639fa
parent60519897a43be9aba177f6a0f542851510322c8e (diff)
cmake: only include breakpad for release MSVC builds
The build system isn't yet ready to accomodate mingw breakpad Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cffe88cd..d374f0ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,11 +25,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-std=c++11)
endif()
-if(WIN32)
+if(WIN32 AND MSVC)
set(SDK_GOOGLE_BREAKPAD "" CACHE PATH "google-breakpad for crash reporting")
endif()
-if(SDK_GOOGLE_BREAKPAD)
+if(SDK_GOOGLE_BREAKPAD AND MSVC)
add_definitions(-DOPENTRACK_BREAKPAD)
include_directories("${SDK_GOOGLE_BREAKPAD}/src/client/windows/handler")
include_directories("${SDK_GOOGLE_BREAKPAD}/src/")