diff options
-rw-r--r-- | src/plugins/vcsbase/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/plugins/vcsbase/vcsbase.qbs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/CMakeLists.txt b/src/plugins/vcsbase/CMakeLists.txt index 82aa07eba9..c26bf04ef2 100644 --- a/src/plugins/vcsbase/CMakeLists.txt +++ b/src/plugins/vcsbase/CMakeLists.txt @@ -35,5 +35,5 @@ add_qtc_plugin(VcsBase extend_qtc_plugin(VcsBase CONDITION WITH_TESTS - DEFINES SRC_DIR="${IDE_SOURCE_TREE}" + DEFINES SRC_DIR="${PROJECT_SOURCE_DIR}" ) diff --git a/src/plugins/vcsbase/vcsbase.qbs b/src/plugins/vcsbase/vcsbase.qbs index 23710f40e6..ac629c450d 100644 --- a/src/plugins/vcsbase/vcsbase.qbs +++ b/src/plugins/vcsbase/vcsbase.qbs @@ -80,5 +80,5 @@ QtcPlugin { "wizard/vcsjsextension.h", ] - cpp.defines: base.concat(qtc.testsEnabled ? ['SRC_DIR="' + qtc.ide_source_tree + '"'] : []) + cpp.defines: base.concat(qtc.testsEnabled ? ['SRC_DIR="' + project.ide_source_tree + '"'] : []) } |