summaryrefslogtreecommitdiff
path: root/src/plugins/clangrefactoring/clangrefactoring.pro
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2016-11-01 14:44:49 +0100
committerTim Jenssen <tim.jenssen@qt.io>2016-11-01 14:14:40 +0000
commitcb3064a09e1052f0ad0dceddf25690fed5ab6eb4 (patch)
treee084f40233a59cd56b2384e91200f15ab9ea0e78 /src/plugins/clangrefactoring/clangrefactoring.pro
parenta23f3c5e07c0b6ad6302390b6ce6d8a543959f38 (diff)
downloadqt-creator-cb3064a09e1052f0ad0dceddf25690fed5ab6eb4.tar.gz
Clang: use a pri file to set clang defines
Change-Id: I52167ab3ce480c795cb0f0bcd749f97b34db86d3 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/clangrefactoring/clangrefactoring.pro')
-rw-r--r--src/plugins/clangrefactoring/clangrefactoring.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/clangrefactoring/clangrefactoring.pro b/src/plugins/clangrefactoring/clangrefactoring.pro
index 3716c86b93..b811f181a7 100644
--- a/src/plugins/clangrefactoring/clangrefactoring.pro
+++ b/src/plugins/clangrefactoring/clangrefactoring.pro
@@ -2,8 +2,7 @@ include(../../qtcreatorplugin.pri)
include(clangrefactoring-source.pri)
include(../../shared/clang/clang_installation.pri)
-DEFINES += CLANG_VERSION=\\\"$${LLVM_VERSION}\\\"
-DEFINES += "\"CLANG_RESOURCE_DIR=\\\"$${LLVM_LIBDIR}/clang/$${LLVM_VERSION}/include\\\"\""
+include(../../shared/clang/clang_defines.pri)
HEADERS += \
$$PWD/clangrefactoringplugin.h