mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Exclude compat_shims from PCH
This commit is contained in:
parent
1b705b1b63
commit
c6916c90bf
|
|
@ -33,6 +33,7 @@ target_compile_definitions(Minecraft.Client PRIVATE
|
|||
${MINECRAFT_SHARED_DEFINES}
|
||||
)
|
||||
target_precompile_headers(Minecraft.Client PRIVATE "$<$<COMPILE_LANGUAGE:CXX>: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
|
||||
|
|
|
|||
Loading…
Reference in a new issue