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:
Jeff Bolz 2018-12-10 09:54:19 -06:00 committed by Steven Perron
parent aab6f4073f
commit 8fc8dfe4a5

View File

@ -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
) )