From c6916c90bff4ccebe55ac6ec2a0fde9a8569842f Mon Sep 17 00:00:00 2001 From: rtm516 Date: Thu, 12 Mar 2026 00:17:28 +0000 Subject: [PATCH] Exclude compat_shims from PCH --- Minecraft.Client/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Minecraft.Client/CMakeLists.txt b/Minecraft.Client/CMakeLists.txt index 4b793c465..d883fedd8 100644 --- a/Minecraft.Client/CMakeLists.txt +++ b/Minecraft.Client/CMakeLists.txt @@ -33,6 +33,7 @@ target_compile_definitions(Minecraft.Client PRIVATE ${MINECRAFT_SHARED_DEFINES} ) target_precompile_headers(Minecraft.Client PRIVATE "$<$:stdafx.h>") +set_source_files_properties(compat_shims.cpp PROPERTIES SKIP_PRECOMPILE_HEADERS ON) # This redefines internal MSVC CRT symbols which will cause an issue with PCH if(MSVC) configure_msvc_target(Minecraft.Client) target_link_options(Minecraft.Client PRIVATE