mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
cmake: fix MSVC PCH support
I'm not sure if the previous implementation ever worked.
This commit is contained in:

committed by
Admiral H. Curtiss

parent
2348017ee8
commit
0909e00117
@ -72,9 +72,8 @@ if (MSVC)
|
||||
add_compile_options(/external:W0)
|
||||
add_compile_options(/external:templates-)
|
||||
|
||||
# Compile PCH
|
||||
add_subdirectory(PCH)
|
||||
add_definitions(/I${PCH_DIRECTORY})
|
||||
add_definitions(/Yu${PCH_PATH})
|
||||
|
||||
# Don't include timestamps in binaries
|
||||
add_link_options(/Brepro)
|
||||
|
Reference in New Issue
Block a user