1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 18:58:55 +01:00

Add our copy of sqlite to the include path only if it's actually being used.

This commit is contained in:
David Sansome 2010-12-18 18:19:18 +00:00
parent 5b2625f420
commit 18a1eb75af

View File

@ -109,7 +109,6 @@ include_directories(${LIBXML_INCLUDE_DIRS})
if (HAVE_LIBLASTFM)
include_directories(${LASTFM_INCLUDE_DIRS})
endif (HAVE_LIBLASTFM)
include_directories("3rdparty/qsqlite")
include_directories("3rdparty/universalchardet")
# Remove GLU and GL from the link line - they're not really required
@ -186,6 +185,7 @@ if(STATIC_SQLITE)
message(STATUS "Building static qsqlite plugin")
add_definitions(-DQT_STATICPLUGIN)
add_subdirectory(3rdparty/qsqlite)
include_directories("3rdparty/qsqlite")
endif(STATIC_SQLITE)
# When/if upstream accepts our patches then these options can be used to link