Move BUNDLE_PROJECTM_PRESETS so it's defined before it's used in libprojectm's CMakeLists.txt

This commit is contained in:
David Sansome 2012-12-24 19:29:24 +11:00
parent b5afaf69f7
commit ab0faf7165
1 changed files with 2 additions and 2 deletions

View File

@ -295,6 +295,8 @@ include(${QT_USE_FILE})
# and don't exist on my mingw toolchain
list(REMOVE_ITEM QT_LIBRARIES "-lGLU -lGL")
option(BUNDLE_PROJECTM_PRESETS "Install Clementine's own copies of libprojectm presets - disable this if you want to use a system package instead" ON)
if(ENABLE_VISUALISATIONS)
# When/if upstream accepts our patches then these options can be used to link
# to system installed projectM instead.
@ -308,8 +310,6 @@ if(ENABLE_VISUALISATIONS)
endif(USE_SYSTEM_PROJECTM)
endif(ENABLE_VISUALISATIONS)
option(BUNDLE_PROJECTM_PRESETS "Install Clementine's own copies of libprojectm presets - disable this if you want to use a system package instead" ON)
# We compile our own qsqlite3 by default now, because in Qt 4.7 the symbols we
# need from it are private.
option(STATIC_SQLITE "Compile and use a static sqlite3 library" ON)