From 05a9c000ceab65f127b511622a17687164d54e77 Mon Sep 17 00:00:00 2001 From: dismine Date: Sun, 30 Nov 2014 17:47:37 +0200 Subject: [PATCH] Enabling ccache causes errors when building in osx in release mode. --HG-- branch : develop --- src/app/app.pro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/app.pro b/src/app/app.pro index c03becd63..0d6779ec2 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -107,9 +107,14 @@ TRANSLATIONS += share/translations/valentina.ts \ share/translations/valentina_nl_NL.ts # Set using ccache. Function enable_ccache() defined in Valentina.pri. -!macx { - $$enable_ccache() #enabling ccache causes errors when using osx +macx { + CONFIG(debug, debug|release){ + $$enable_ccache()# Use only in debug mode on Mac + } +} else { + $$enable_ccache() } + # Set precompiled headers. Function set_PCH() defined in Valentina.pri. $$set_PCH()