blob: 3b65c48e17ed51be57c91fec3aff42e574ebf927 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
)
|