• Tor Didriksen's avatar
    Backport patch for Bug#16877045 5.6-CLUSTER-7.3 WIN32 SQL_YACC.CC BUILD PROBLEM · aa6e69db
    Tor Didriksen authored
    Building with ninja shows the problem:
    cmake .. -G Ninja
    ninja
    ninja: error: dependency cycle: sql/GenServerSource -> sql/CMakeFiles/GenServerSource -> sql/sql_builtin.cc -> cmake_order_depends_target_sq
     sql/GenServerSource
    
    Bug#16877045 5.6-CLUSTER-7.3 WIN32 SQL_YACC.CC BUILD PROBLEM
     - Somewhat circular dependency caused by the configured files sql_builtin.cc  being included as
        part of the files to generate in sql/
     - Move sql_builtin.cc out of GEN_SOURCES variable.
     - Create new variable CONF_SOURCES to be used for configured files.
    aa6e69db
CMakeLists.txt 4.79 KB