File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ import qbs.File
33import qbs.FileInfo
44
55StaticLibrary {
6- id: googletest
76 name: " googletest"
87
98 Probe {
109 id: googletestProbe
1110 property pathList searchPathes: [" ./googletest" , " ../../googletest" ]
11+ property path sourcePath: product .sourceDirectory
1212
1313 property path basePath // valid if found
1414
1515 configure: {
1616 for (var i= 0 ; i < searchPathes .length ; i++ ) {
1717 var c = searchPathes[i];
18- if (File .exists (FileInfo .joinPaths (googletest . sourceDirectory , c, " googletest/src/gtest-all.cc" ))) {
18+ if (File .exists (FileInfo .joinPaths (sourcePath , c, " googletest/src/gtest-all.cc" ))) {
1919 found = true ;
20- basePath = FileInfo .joinPaths (googletest . sourceDirectory , c);
20+ basePath = FileInfo .joinPaths (sourcePath , c);
2121 return ;
2222 }
2323 }
You can’t perform that action at this time.
0 commit comments