commit | a5ad4e8a5639ae4c32de2d1d4fec9e64c62ef29b | [log] [tgz] |
---|---|---|
author | Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> | Thu Mar 17 11:08:40 2022 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Mar 18 10:14:52 2022 +0100 |
tree | db1815543f46c54a2e5605c29ef696fb5733ba33 | |
parent | 574e166e1357641cb80dda00ff0a01096b6695a0 [diff] |
cmake: reuse interface lib for compile options if it already exists Fixes: #43835 In zephyr_library_compile_options() the existence of the compile options interface library is checked and function returns if it already exists. This results in #43835 meaning two libraries cannot add the same option. This commit fixes this by re-using the already created unique interface library and link this to the Zephyr library. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>