refs #213, #893 Disable precompiled header when using MSVC2015.

This commit is contained in:
Mathew Sutcliffe
2017-03-01 18:14:15 +00:00
parent 220c237b8c
commit 669e8b0320

View File

@@ -49,6 +49,9 @@ macx:staticlib:isEmpty(SOURCES) {
# only MSVC gains any build time improvement # only MSVC gains any build time improvement
!msvc: CONFIG -= precompile_header !msvc: CONFIG -= precompile_header
# expression SFINAE bug in MSVC2015 when using PCH
msvc:lessThan(MSVC_VER, 15): CONFIG -= precompile_header
# not supported by clang_cl # not supported by clang_cl
clang_cl: CONFIG -= precompile_header clang_cl: CONFIG -= precompile_header