mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
14 lines
498 B
Diff
14 lines
498 B
Diff
diff --git a/external/crashpad/handler/CMakeLists.txt b/external/crashpad/handler/CMakeLists.txt
|
|
index b89c570..2e0aaa1 100644
|
|
--- a/external/crashpad/handler/CMakeLists.txt
|
|
+++ b/external/crashpad/handler/CMakeLists.txt
|
|
@@ -88,7 +88,7 @@ if(NOT IOS)
|
|
$<$<COMPILE_LANGUAGE:CXX>:-Wno-ignored-attributes>
|
|
)
|
|
endif()
|
|
- if(LINUX)
|
|
+ if(LINUX AND BUILD_SHARED_LIBS)
|
|
target_sources(crashpad_handler PRIVATE
|
|
../client/pthread_create_linux.cc
|
|
)
|