From f1fae37a813f3d6eb0a35b176966f7512bc0e6d6 Mon Sep 17 00:00:00 2001 From: spycrab Date: Wed, 8 May 2019 21:10:41 +0200 Subject: [PATCH] DolphinQt/CMake: Don't build SignalDaemon on Windows --- Source/Core/DolphinQt/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 27eda16cb4..587f31b55d 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -107,7 +107,6 @@ add_executable(dolphin-emu QtUtils/FlowLayout.cpp QtUtils/ModalMessageBox.cpp QtUtils/ImageConverter.cpp - QtUtils/SignalDaemon.cpp QtUtils/WindowActivationEventFilter.cpp QtUtils/WinIconHelper.cpp QtUtils/WrapInScrollArea.cpp @@ -130,6 +129,10 @@ add_executable(dolphin-emu Updater.cpp ) +if (NOT WIN32) + target_sources(dolphin-emu PRIVATE QtUtils/SignalDaemon.cpp) +endif() + target_compile_definitions(dolphin-emu PRIVATE -DQT_USE_QSTRINGBUILDER