Commit f974062c authored by Sergei Krivonos's avatar Sergei Krivonos Committed by Vladislav Vaintroub

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".
parent f13c2107
...@@ -351,6 +351,7 @@ ADD_CUSTOM_TARGET( ...@@ -351,6 +351,7 @@ ADD_CUSTOM_TARGET(
GenServerSource GenServerSource
DEPENDS ${GEN_SOURCES} DEPENDS ${GEN_SOURCES}
) )
ADD_DEPENDENCIES(sql GenServerSource)
#Need this only for embedded #Need this only for embedded
SET_TARGET_PROPERTIES(GenServerSource PROPERTIES EXCLUDE_FROM_ALL TRUE) SET_TARGET_PROPERTIES(GenServerSource PROPERTIES EXCLUDE_FROM_ALL TRUE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment