Skip to content

Commit

Permalink
MDEV-19129: Fixed configure for Xcode, CMake generate
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
ohhmm authored and vaintroub committed Dec 7, 2021
1 parent f13c210 commit f974062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f974062

Please sign in to comment.