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