From 796cb2ed11670d493b9e9f40b0e3235dffd083be Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 17 Jan 2021 13:33:11 +0000 Subject: improved dependencies checking git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9650 90c681e8-e032-0410-971d-27865f9a5e38 --- CMakeLists.txt | 2 +- src/plugins/General/CMakeLists.txt | 4 ++-- 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) -- cgit v1.2.3-13-gbd6f