Merge pull request #3504 from Elv13/fix_build

build: Fix a recent regression when tests are built.
This commit is contained in:
Aire-One 2021-11-14 13:22:46 +01:00 committed by GitHub
commit 0246c44d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -404,6 +404,8 @@ target_link_libraries(test-gravity
${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS}) ${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS})
add_executable(test-systray tests/test-systray.c) add_executable(test-systray tests/test-systray.c)
add_dependencies(test-systray generated_sources)
target_link_libraries(test-systray target_link_libraries(test-systray
${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS}) ${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS})