Fix non-taglib build - again!!!!

BUG: 387
This commit is contained in:
craig.p.drummond
2014-01-26 09:37:20 +00:00
parent 5cac84c7a3
commit 8d4a320e28
2 changed files with 5 additions and 4 deletions

View File

@@ -380,9 +380,10 @@ if (NOT WIN32 AND NOT APPLE)
set(CANTATA_MOC_HDRS ${CANTATA_MOC_HDRS} devices/mountpoints.h)
endif (NOT WIN32 AND NOT APPLE)
if (WIN32 OR APPLE)
set(ENABLE_DEVICES_SUPPORT 0)
endif (WIN32 OR APPLE)
if (WIN32 OR APPLE OR NOT TAGLIB_FOUND)
set(ENABLE_DEVICES_SUPPORT OFF)
set(ENABLE_REMOTE_DEVICES OFF)
endif (WIN32 OR APPLE OR NOT TAGLIB_FOUND)
set(CANTATA_RCS cantata.qrc)

View File

@@ -44,7 +44,7 @@
#include "song.h"
#include "output.h"
#include "covers.h"
#ifdef TAGLIB_FOUND
#ifdef ENABLE_HTTP_SERVER
#include "httpserver.h"
#endif
#include "utils.h"