aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2023-09-05 16:12:18 +1000
committerfuzzard <fuzzard@kodi.tv>2023-09-06 09:05:29 +1000
commitbd675ec817f4b2ef5e3d5ed7d55bba186f381559 (patch)
treeb4f685b61ad5110323d7fcc3370f4987a9c92e39 /CMakeLists.txt
parent5f9b9cfa26f274e381e92d73cfa33fb55582436e (diff)
[cmake] FindMariaDBClient migrate to full TARGET usage
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3488ab96de..59d7d301ff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -232,7 +232,7 @@ elseif(ENABLE_MYSQLCLIENT AND NOT ENABLE_MYSQLCLIENT STREQUAL AUTO)
endif()
core_optional_dep(MariaDBClient)
-if(NOT MARIADBCLIENT_FOUND)
+if(NOT TARGET MariaDBClient::MariaDBClient)
core_optional_dep(MySqlClient)
endif()