mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 15:59:16 +08:00
ccd45eba76
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
14 lines
435 B
Diff
14 lines
435 B
Diff
diff --git a/external/crashpad/handler/CMakeLists.txt b/external/crashpad/handler/CMakeLists.txt
|
|
index be0e544..b0d44af 100644
|
|
--- a/external/crashpad/handler/CMakeLists.txt
|
|
+++ b/external/crashpad/handler/CMakeLists.txt
|
|
@@ -89,7 +89,7 @@ if(NOT IOS)
|
|
main.cc
|
|
)
|
|
|
|
- if(LINUX)
|
|
+ if(LINUX AND BUILD_SHARED_LIBS)
|
|
target_sources(crashpad_handler PRIVATE
|
|
../client/pthread_create_linux.cc
|
|
)
|