summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Krivonos <sergeikrivonos@gmail.com>2021-12-07 19:34:31 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2021-12-07 20:29:25 +0100
commitf974062c519e95a00dbd5a1711e2bb95490eb4dc (patch)
tree10e627c4935f036ac1da9572b00b27412e6e9563
parentf13c2107b39a6dd1e52bb582545631a4d93f2681 (diff)
downloadmariadb-git-f974062c519e95a00dbd5a1711e2bb95490eb4dc.tar.gz
MDEV-19129: Fixed configure for Xcode, CMake generate
CMake Error in wsrep-lib/CMakeLists.txt: The custom command generating /Users/name/build/mariadb-server/sql/lex_token.h is attached to multiple targets: GenServerSource sql but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system".
-rw-r--r--sql/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 17779adcff8..47716274966 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -351,6 +351,7 @@ ADD_CUSTOM_TARGET(
GenServerSource
DEPENDS ${GEN_SOURCES}
)
+ADD_DEPENDENCIES(sql GenServerSource)
#Need this only for embedded
SET_TARGET_PROPERTIES(GenServerSource PROPERTIES EXCLUDE_FROM_ALL TRUE)