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:
parent
dcd2ef93f9
commit
6ed8065f70
10 changed files with 119 additions and 74 deletions
|
|
@ -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() });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue