Enabling ccache causes errors when building in osx in release mode.

--HG--
branch : develop
This commit is contained in:
dismine 2014-11-30 17:47:37 +02:00
parent 412d81fc3a
commit 05a9c000ce

View File

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