mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 01:31: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
|
add_spvtools_unittest(TARGET upgrade_memory_model
|
||||||
SRCS upgrade_memory_model_test.cpp pass_utils.cpp
|
SRCS upgrade_memory_model_test.cpp pass_utils.cpp
|
||||||
LIBS SPIRV-Tools-opt
|
LIBS SPIRV-Tools-opt
|
||||||
|
PCH_FILE pch_test_opt
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user