Recast CMake's IMPORTED_LOCATION into framework flags (#13299)
* Explicitly look for 'OpenAL' with method: 'cmake' This test was added for testing cmake depenencies, so no other method must be accepted here, and the spelling must match FindOpenAL.cmake. * Resolve frameworks in IMPORTED_LOCATION The IMPORTED_LOCATION property of CMake targets may contain macOS framework paths. These must be processed into flags. By putting the values in the list of targets, they will be processed as if they appeared in INTERFACE_LINK_LIBRARIES.pull/12043/merge
parent
9be6e653d4
commit
a28dde40b5
2 changed files with 3 additions and 3 deletions
@ -1,5 +1,5 @@ |
||||
project('framework recasting', 'c', 'cpp') |
||||
|
||||
x = dependency('OpenAL') |
||||
x = dependency('OpenAL', method: 'cmake') |
||||
|
||||
y = executable('tt', files('main.cpp'), dependencies: x) |
||||
|
Loading…
Reference in new issue