Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unittest: Only add main.c if it exists
Downstream it's easier to write tests that use target_sources after including the unittest package instead of specifying a list of sources before. But if we do that, currently, main.c is added and the build breaks because it doesn't exist. Signed-off-by: Yuval Peress <[email protected]>
- Loading branch information