Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <dev@dominik-schmidt.de>2018-05-23 15:27:28 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2018-05-23 15:27:28 +0300
commit3f92d83acf3c1110105a18c8e254e37d3dce73cc (patch)
tree565914072271a247caf445a6895542f90b153c31
parent0556aface79bbb6a17c1ed95d54287456d6ae2ba (diff)
Fix msvc build
-rw-r--r--3rdparty/breakpad/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/3rdparty/breakpad/CMakeLists.txt b/3rdparty/breakpad/CMakeLists.txt
index c4f8537..f3c2bef 100644
--- a/3rdparty/breakpad/CMakeLists.txt
+++ b/3rdparty/breakpad/CMakeLists.txt
@@ -75,8 +75,11 @@ endif()
include_directories(.)
# ADD_DEFINITIONS( -fPIC )
add_library(crashreporter-breakpad STATIC ${breakpadSources} )
-target_link_libraries(crashreporter-breakpad pthread)
-if(WIN32)
+if(NOT MSVC)
+ target_link_libraries(crashreporter-breakpad pthread)
+endif()
+
+if(WIN32 AND NOT MSVC)
target_link_libraries(crashreporter-breakpad "mingwex")
endif()