From 19a12adf3e066a5e817d470b803ffb37082fbc38 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 5 Nov 2011 17:27:10 +0000 Subject: [PATCH] Add the QCA include dirs if QCA was found, even if spotify core was turned off --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bca783b2a..2cae38acd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -709,10 +709,10 @@ optional_source(HAVE_SPOTIFY internet/spotifyservice.h internet/spotifysettingspage.h resolvers/spotifyresolver.h - INCLUDE_DIRECTORIES - ${QCA_INCLUDE_DIRS} ) +optional_source(HAVE_QCA INCLUDE_DIRECTORIES ${QCA_INCLUDE_DIRS}) + # Platform specific - OS X optional_source(APPLE INCLUDE_DIRECTORIES