From b69c57b8e818abf9e16922d9cdaa5ae49dd9fac4 Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Wed, 15 Nov 2023 23:44:02 +0100 Subject: [PATCH] Correct target_link_libraries --- libsrc/events/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libsrc/events/CMakeLists.txt b/libsrc/events/CMakeLists.txt index 9eb4fd00..f9368b1e 100644 --- a/libsrc/events/CMakeLists.txt +++ b/libsrc/events/CMakeLists.txt @@ -14,7 +14,11 @@ if(UNIX AND NOT APPLE) endif() endif() -target_link_libraries(events hyperion-utils) +target_link_libraries(events + hyperion-utils + Qt${QT_VERSION_MAJOR}::Core + Qt${QT_VERSION_MAJOR}::Widgets +) if(APPLE) # find_library(FOUNDATION_LIBRARY Foundation REQUIRED)