From f974062c519e95a00dbd5a1711e2bb95490eb4dc Mon Sep 17 00:00:00 2001 From: Sergei Krivonos Date: Tue, 7 Dec 2021 19:34:31 +0200 Subject: 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". --- sql/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/CMakeLists.txt') 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) -- cgit v1.2.1