diff options
author | Sergei Krivonos <sergeikrivonos@gmail.com> | 2021-12-07 01:51:31 +0200 |
---|---|---|
committer | Sergei Krivonos <sergeikrivonos@gmail.com> | 2021-12-07 12:52:23 +0200 |
commit | b07e3710b9d3581be59f5501d1ff15872a5081a7 (patch) | |
tree | beb9101726dd614925f29d2316626d5a0fe98c77 | |
parent | 1e8bcbd0a0bfa07052e9458830672ea215c8664a (diff) | |
download | mariadb-git-bb-10.8-MDEV-19129.tar.gz |
MDEV-19129: Fixed configure for Xcode, CMake generatebb-10.8-MDEV-19129
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.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index 972cc0b736c..9ec686ef9d9 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -390,6 +390,7 @@ ADD_CUSTOM_TARGET( ${CMAKE_CURRENT_BINARY_DIR}/yy_mariadb.cc ${CMAKE_CURRENT_BINARY_DIR}/yy_oracle.cc ) +ADD_DEPENDENCIES(sql GenServerSource) IF(TARGET libfmt) ADD_DEPENDENCIES(sql libfmt) |