From afa8351d9e7e762f8620168f28dfca0ba6922cf6 Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Wed, 30 Mar 2016 12:55:33 +0200 Subject: [PATCH] C++: Accept BUILD_CPLUSPLUS_TOOLS as qmake variable Change-Id: I3266261d14aef12d3db73a635f0b1c471f6a52b7 Reviewed-by: Orgad Shaneh --- src/tools/tools.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/tools.pro b/src/tools/tools.pro index be4170db1ae..fe9f3a73970 100644 --- a/src/tools/tools.pro +++ b/src/tools/tools.pro @@ -23,7 +23,7 @@ exists($$LLVM_INSTALL_DIR) { SUBDIRS += clangbackend } -BUILD_CPLUSPLUS_TOOLS = $$(BUILD_CPLUSPLUS_TOOLS) +isEmpty(BUILD_CPLUSPLUS_TOOLS):BUILD_CPLUSPLUS_TOOLS=$$(BUILD_CPLUSPLUS_TOOLS) !isEmpty(BUILD_CPLUSPLUS_TOOLS) { SUBDIRS += cplusplus-ast2png \ cplusplus-frontend \