From 995a3e242519b641ec182079fb6776482bd7233b Mon Sep 17 00:00:00 2001 From: Piyush Aggarwal Date: Sat, 11 May 2019 20:56:07 +0000 Subject: [PATCH] fix win32 build --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 40278e9cc..df968db48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,9 @@ else() endif() set(QCA_MIN_VERSION "2.1.0") find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) - find_package(KF5PulseAudioQt REQUIRED) + if(NOT WIN32) + find_package(KF5PulseAudioQt REQUIRED) + endif() add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) endif()