aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-17 13:33:11 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-17 13:33:11 +0000
commit796cb2ed11670d493b9e9f40b0e3235dffd083be (patch)
tree524723bd932fb6cd5fe98c3c81da4588268d0736
parent75e9389019d6c37dabf5f01feeb502f257e72e0c (diff)
downloadqmmp-796cb2ed11670d493b9e9f40b0e3235dffd083be.tar.gz
qmmp-796cb2ed11670d493b9e9f40b0e3235dffd083be.tar.bz2
qmmp-796cb2ed11670d493b9e9f40b0e3235dffd083be.zip
improved dependencies checking
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9650 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/plugins/General/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 254c819f3..fab25d110 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -232,7 +232,7 @@ PRINT_SUMMARY ("Track change .........................." USE_TRACKCHANGE 1)
PRINT_SUMMARY ("Copy/Paste ............................" USE_COPYPASTE 1)
PRINT_SUMMARY ("History plugin ........................" USE_HISTORY Qt5Sql_FOUND)
PRINT_SUMMARY ("Sleep mode inhibition plugin .........." USE_SLEEPINHIBITOR Qt5DBus_FOUND)
-PRINT_SUMMARY ("Media library plugin .................." USE_LIBRARY Qt5Concurrent_FOUND)
+PRINT_SUMMARY ("Media library plugin .................." USE_LIBRARY Qt5Concurrent_FOUND AND Qt5Sql_FOUND)
PRINT_SUMMARY ("Taskbar plugin (Windows) .............." USE_TASKBAR Qt5WinExtras_FOUND)
PRINT_SUMMARY ("Removable device detection (Windows) .." USE_RDETECT Qt5WinExtras_FOUND)
diff --git a/src/plugins/General/CMakeLists.txt b/src/plugins/General/CMakeLists.txt
index 0b9528952..fe42104ac 100644
--- a/src/plugins/General/CMakeLists.txt
+++ b/src/plugins/General/CMakeLists.txt
@@ -110,6 +110,6 @@ IF(USE_RDETECT AND Qt5WinExtras_FOUND)
add_subdirectory(rdetect)
ENDIF(USE_RDETECT AND Qt5WinExtras_FOUND)
-IF(USE_LIBRARY AND Qt5Concurrent_FOUND)
+IF(USE_LIBRARY AND Qt5Concurrent_FOUND AND Qt5Sql_FOUND)
add_subdirectory(library)
-ENDIF(USE_LIBRARY AND Qt5Concurrent_FOUND)
+ENDIF(USE_LIBRARY AND Qt5Concurrent_FOUND AND Qt5Sql_FOUND)