|
|
|
@ -548,10 +548,11 @@ class CMakeDependency(ExternalDependency): |
|
|
|
|
self.found_modules += [i] |
|
|
|
|
|
|
|
|
|
rtgt = resolve_cmake_trace_targets(i, self.traceparser, self.env, |
|
|
|
|
clib_compiler=self.clib_compiler, |
|
|
|
|
not_found_warning=lambda x: mlog.warning('CMake: Dependency', mlog.bold(x), 'for', mlog.bold(name), 'was not found') |
|
|
|
|
) |
|
|
|
|
incDirs += rtgt.include_directories |
|
|
|
|
clib_compiler=self.clib_compiler, |
|
|
|
|
not_found_warning=lambda x: |
|
|
|
|
mlog.warning('CMake: Dependency', mlog.bold(x), 'for', mlog.bold(name), 'was not found') |
|
|
|
|
) |
|
|
|
|
incDirs += rtgt.include_directories |
|
|
|
|
compileOptions += rtgt.public_compile_opts |
|
|
|
|
libraries += rtgt.libraries + rtgt.link_flags |
|
|
|
|
|
|
|
|
|