forked from qt-creator/qt-creator
CMakePM: Fix passing library search paths
Amends 305ccfe259
.
Change-Id: Icd08697720224e84cb4ad282d21191f80728865e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -264,7 +264,7 @@ QList<CMakeBuildTarget> generateBuildTargets(const PreprocessedData &input,
|
||||
continue;
|
||||
|
||||
const FilePath buildDir = haveLibrariesRelativeToBuildDirectory ? buildDirectory : currentBuildDir;
|
||||
FilePath tmp = buildDir.resolvePath(buildDir.withNewPath(part));
|
||||
FilePath tmp = buildDir.resolvePath(part);
|
||||
|
||||
if (f.role == "libraries")
|
||||
tmp = tmp.parentDir();
|
||||
|
Reference in New Issue
Block a user