Unit test: Fix qbs build with internal gtest

Change-Id: Ied99b436ae234e7be3944e71d0f6d13fc5f7b2f3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-07-02 13:57:53 +02:00
parent 518b25063d
commit 01a6e40377

View File

@@ -11,7 +11,7 @@ Project {
property bool useExternalLibs: preferExternalLibs && externalLibsPresent
property bool useRepo: !useExternalLibs && hasRepo
property bool preferExternalLibs: true
property bool externalLibsPresent: gtest.present && gmock.present
property bool externalLibsPresent: preferExternalLibs && gtest.present && gmock.present
property string repoDir: FileInfo.joinPaths(path, "3rdparty", "googletest")
property string gtestDir: FileInfo.joinPaths(repoDir, "googletest")
property string gmockDir: FileInfo.joinPaths(repoDir, "googlemock")