mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-25 17:21:06 +00:00
Add PCH_FILE for upgrade_memory_model target. MSVC doesn't like building pass_utils.cpp twice in the same folder with different PCH settings. (#2186)
This commit is contained in:
parent
aab6f4073f
commit
8fc8dfe4a5
@ -92,4 +92,5 @@ add_spvtools_unittest(TARGET opt
|
||||
add_spvtools_unittest(TARGET upgrade_memory_model
|
||||
SRCS upgrade_memory_model_test.cpp pass_utils.cpp
|
||||
LIBS SPIRV-Tools-opt
|
||||
PCH_FILE pch_test_opt
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user