From ab0faf7165dd9ec5c7eb217255e228302424dc5b Mon Sep 17 00:00:00 2001 From: David Sansome Date: Mon, 24 Dec 2012 19:29:24 +1100 Subject: [PATCH] Move BUNDLE_PROJECTM_PRESETS so it's defined before it's used in libprojectm's CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c26bfcdd..7097ccea4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)