From 4d111db7b2776c4f43ab5c476533b58177a4159c Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Sat, 13 Nov 2021 19:28:12 -0800 Subject: [PATCH] build: Fix a recent regression when tests are built. Fix #3502 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a972655f..370f611d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -404,6 +404,8 @@ target_link_libraries(test-gravity ${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS}) add_executable(test-systray tests/test-systray.c) +add_dependencies(test-systray generated_sources) + target_link_libraries(test-systray ${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS})