1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

CMake: Support automatic linking of bundled libraries in modules

This commit is contained in:
reuk 2021-06-28 20:03:42 +01:00
parent dcd2ef93f9
commit 6ed8065f70
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
10 changed files with 119 additions and 74 deletions

View file

@ -73,7 +73,7 @@ void LibraryModule::addSearchPathsToExporter (ProjectExporter& exporter) const
}();
auto libSubdirPath = moduleRelativePath.toUnixStyle() + "/libs/" + libDirPlatform;
auto moduleLibDir = File (exporter.getProject().getProjectFolder().getFullPathName() + "/" + libSubdirPath);
auto moduleLibDir = exporter.getProject().resolveFilename (libSubdirPath);
if (moduleLibDir.exists())
exporter.addToModuleLibPaths ({ libSubdirPath, moduleRelativePath.getRoot() });