X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=f3b7cad2e7c502cbc46854b76c425c21a84e964a;hp=934e3fddeb51e66346339daec7512b057e59c015;hb=c64a887d0f05222590299fb2bb8d56fa9fadb16d;hpb=ff81aaec156b8dc2e12f49286fd69e55f215af29 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})