From ae877370de4b2c2624c8542f2ebcdca15a6e89e7 Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Fri, 8 Dec 2023 14:55:31 -0800 Subject: [PATCH] Fix Ninja builds with Crashpad enabled on Windows --- cmake/externals/crashpad/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake/externals/crashpad/CMakeLists.txt b/cmake/externals/crashpad/CMakeLists.txt index c174022aa3..725c0172a5 100644 --- a/cmake/externals/crashpad/CMakeLists.txt +++ b/cmake/externals/crashpad/CMakeLists.txt @@ -13,6 +13,13 @@ if (WIN32) INSTALL_COMMAND "" LOG_DOWNLOAD 1 DOWNLOAD_EXTRACT_TIMESTAMP 1 + BUILD_BYPRODUCTS + "project/src/crashpad/out/Release_x64/lib_MD/crashpad_client.lib" + "project/src/crashpad/out/Release_x64/lib_MD/crashpad_util.lib" + "project/src/crashpad/out/Release_x64/lib_MD/base.lib" + "project/src/crashpad/out/Debug_x64/lib_MD/crashpad_client.lib" + "project/src/crashpad/out/Debug_x64/lib_MD/crashpad_util.lib" + "project/src/crashpad/out/Debug_x64/lib_MD/base.lib" ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR)