1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Fix Debug/Release PCH Battles

Don't specify the filename ourselves... Let VS figure it out.
This commit is contained in:
2013-01-30 14:05:33 -05:00
parent 9873b33cb3
commit 194f44b017

View File

@ -14,7 +14,6 @@ function(use_precompiled_header PrecompiledHeader PrecompiledSource Headers Sour
get_filename_component(PrecompiledBasename ${PrecompiledHeader} NAME_WE)
set(PrecompiledBinary ${PrecompiledBasename}.pch)
add_definitions(/Fp"${PrecompiledBinary}")
add_definitions(/Yu"${PrecompiledHeader}")
add_definitions(/FI"${PrecompiledHeader}")
set_source_files_properties(${PrecompiledSource} PROPERTIES COMPILE_FLAGS "/Yc\"${PrecompiledHeader}\"")