From e0e0f8677a17eafe60d9e978caa5cf079c9fb4ff Mon Sep 17 00:00:00 2001 From: slipher Date: Thu, 30 Jul 2026 20:33:58 -0500 Subject: [PATCH 1/2] Fix Linux dummyapp with Breakpad build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f4a215413..6d28d88046 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -737,7 +737,7 @@ if (USE_BREAKPAD) add_library(srclibs-breakpad EXCLUDE_FROM_ALL ${BREAKPAD_LIST}) set_target_properties(srclibs-breakpad PROPERTIES POSITION_INDEPENDENT_CODE 1 FOLDER "libs") target_compile_definitions(srclibs-breakpad PUBLIC HAVE_GETCONTEXT=1) - set(LIBS_ENGINE ${LIBS_ENGINE} srclibs-breakpad) + set(LIBS_ENGINE_BASE ${LIBS_ENGINE_BASE} srclibs-breakpad) add_executable(crash_server src/engine/crash_server/crash_server_linux.cpp) target_link_libraries(crash_server srclibs-breakpad) From feaa254c6640a5686f930bcdb25fe983d54aa439 Mon Sep 17 00:00:00 2001 From: slipher Date: Thu, 30 Jul 2026 20:41:29 -0500 Subject: [PATCH 2/2] Remove a hack for old PCH implementation Remove USELESS_DEFINITION_TO_AVOID_PCH_ISSUE preprocessor define from dummyapp. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d28d88046..65ff1a430b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -894,7 +894,6 @@ if (NOT YOKAI_TARGET_SYSTEM_NACL) AddApplication( Target dummyapp ExecutableName dummyapp - Definitions USELESS_DEFINITION_TO_AVOID_PCH_ISSUE ApplicationMain ${ENGINE_DIR}/null/NullApplication.cpp CompileFlags ${WARNINGS} Files ${DUMMYAPPLIST}