From ac791640a6a96168c6ba48d0b18fc586855f6c75 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 27 Oct 2019 20:41:24 +0100 Subject: [PATCH] Merge conditions --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 77428382f..545648ee5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,6 +53,7 @@ else() if(UNIX AND NOT APPLE) set(KF5_OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS} Runner) + find_package(KF5PulseAudioQt) endif() find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) @@ -63,9 +64,6 @@ else() TYPE RUNTIME ) - if(NOT WIN32 AND NOT APPLE) - find_package(KF5PulseAudioQt) - endif() add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII -DHAVE_KIO) endif()