build: Fix a recent regression when tests are built.

Fix #3502
This commit is contained in:
Lucas Schwiderski 2021-11-13 19:28:12 -08:00 committed by Emmanuel Lepage Vallee
parent 062ecfb6f0
commit 4d111db7b2
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})