From 7aa9c0464e49c7ea3d1feca9e1e00792d2c26c17 Mon Sep 17 00:00:00 2001 From: dismine Date: Sat, 4 Oct 2014 09:31:34 +0300 Subject: [PATCH] Disable precompiled headers for clang in linux. --HG-- branch : develop --- src/app/app.pro | 12 +++++++----- src/libs/qmuparser/qmuparser.pro | 12 +++++++----- src/libs/vpropertyexplorer/vpropertyexplorer.pro | 12 +++++++----- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/src/app/app.pro b/src/app/app.pro index 0f8cfc67a..786622715 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -99,11 +99,13 @@ unix { } } -CONFIG += precompile_header -# Precompiled headers (PCH) -PRECOMPILED_HEADER = stable.h -win32-msvc* { - PRECOMPILED_SOURCE = stable.cpp +unix:!macx:!clang*{ + CONFIG += precompile_header + # Precompiled headers (PCH) + PRECOMPILED_HEADER = stable.h + win32-msvc* { + PRECOMPILED_SOURCE = stable.cpp + } } CONFIG(debug, debug|release){ diff --git a/src/libs/qmuparser/qmuparser.pro b/src/libs/qmuparser/qmuparser.pro index 01db1689c..f2c42b42f 100644 --- a/src/libs/qmuparser/qmuparser.pro +++ b/src/libs/qmuparser/qmuparser.pro @@ -63,11 +63,13 @@ unix { } } -CONFIG += precompile_header -# Precompiled headers (PCH) -PRECOMPILED_HEADER = stable.h -win32-msvc* { - PRECOMPILED_SOURCE = stable.cpp +unix:!macx:!clang*{ + CONFIG += precompile_header + # Precompiled headers (PCH) + PRECOMPILED_HEADER = stable.h + win32-msvc* { + PRECOMPILED_SOURCE = stable.cpp + } } include(../../../Valentina.pri) diff --git a/src/libs/vpropertyexplorer/vpropertyexplorer.pro b/src/libs/vpropertyexplorer/vpropertyexplorer.pro index 35e7156e2..cea6e669f 100644 --- a/src/libs/vpropertyexplorer/vpropertyexplorer.pro +++ b/src/libs/vpropertyexplorer/vpropertyexplorer.pro @@ -106,11 +106,13 @@ unix { } } -CONFIG += precompile_header -# Precompiled headers (PCH) -PRECOMPILED_HEADER = stable.h -win32-msvc* { - PRECOMPILED_SOURCE = stable.cpp +unix:!macx:!clang*{ + CONFIG += precompile_header + # Precompiled headers (PCH) + PRECOMPILED_HEADER = stable.h + win32-msvc* { + PRECOMPILED_SOURCE = stable.cpp + } } include(../../../Valentina.pri)