From: Manuel Nickschas Date: Sun, 1 Apr 2012 23:13:30 +0000 (+0200) Subject: Fix build error if QCA2 isn't around X-Git-Tag: 0.9-beta1~72 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=5717b69f3585ad9102d47bdef32e2ac83bd18b83 Fix build error if QCA2 isn't around --- diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 934e3fdd..f3b7cad2 100644 --- a/src/uisupport/CMakeLists.txt +++ b/src/uisupport/CMakeLists.txt @@ -84,8 +84,11 @@ endif(HAVE_KDE) include_directories(${CMAKE_SOURCE_DIR}/src/common ${CMAKE_SOURCE_DIR}/src/client - ${QUASSEL_QT_INCLUDES} - ${QCA2_INCLUDE_DIR}) + ${QUASSEL_QT_INCLUDES}) + +if(HAVE_QCA2) + include_directories(${QCA2_INCLUDE_DIR}) +endif(HAVE_QCA2) if(NOT WITH_QT5) qt4_wrap_cpp(MOC ${MOC_HDRS})