summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2021-09-28 22:25:47 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2021-09-28 22:26:05 +0200
commite5a9dcfda20e174525ad63a30e12f592aa9c96d3 (patch)
treef0015bd2bdd3b9b762ef1aec42d8cf0759e9564d /libmysqld
parent690c4725914377914640d7d714a7e93127ee169d (diff)
downloadmariadb-git-e5a9dcfda20e174525ad63a30e12f592aa9c96d3.tar.gz
MDEV-23306 Fix build dependency
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index c133e5a4378..30ddf9ec1c3 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -142,6 +142,9 @@ SET(SQL_EMBEDDED_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
ADD_CONVENIENCE_LIBRARY(sql_embedded ${SQL_EMBEDDED_SOURCES})
DTRACE_INSTRUMENT(sql_embedded)
ADD_DEPENDENCIES(sql_embedded GenError GenServerSource)
+IF(TARGET pcre2)
+ ADD_DEPENDENCIES(sql_embedded pcre2)
+ENDIF()
# On Windows, static embedded server library is called mysqlserver.lib
# On Unix, it is libmysqld.a