fix win32 build

This commit is contained in:
Piyush Aggarwal 2019-05-11 20:56:07 +00:00
parent 98bd91bf1c
commit 995a3e2425

View file

@ -31,7 +31,9 @@ else()
endif() endif()
set(QCA_MIN_VERSION "2.1.0") set(QCA_MIN_VERSION "2.1.0")
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
if(NOT WIN32)
find_package(KF5PulseAudioQt REQUIRED) find_package(KF5PulseAudioQt REQUIRED)
endif()
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS)
endif() endif()