System : Improved control of cotire

This commit is contained in:
Magne Sjaastad
2017-03-29 08:13:45 +02:00
parent c257c52944
commit 3007a62238
2 changed files with 1 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ target_link_libraries ( ${PROJECT_NAME}
${QT_LIBRARIES}
)
if (CAF_USE_COTIRE)
if (COMMAND cotire)
cotire(${PROJECT_NAME})
# make sure the unity target is included in the active builds to trigger rebuild before debug