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