aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)