Skip to content
Snippets Groups Projects
Commit 7b2fafac authored by Marc-Olivier Andrez's avatar Marc-Olivier Andrez
Browse files

build: simplify management of dependencies on object libraries in CMake `gtest` function

This commits changes the `gtest` function to `target_add_libraries`
library object targets `${lib}` directly instead of
`$<TARGET_OBJECTS:${lib}>`. As a consequence, the
`target_include_directories` from the object target `${lib}` are
also passed to the target to compile and including them in the caller of
`gtest` is not needed anymore.
parent 48bbbaad
No related branches found
No related tags found
1 merge request!250build: simplify management of dependencies on object libraries in CMake `gtest` function
Pipeline #129465 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment