Skip to content
  • Vasil Dimov's avatar
    ab59cd19
    Hook ADD_DEPENDENCIES() to GenError to all targets that compile InnoDB · ab59cd19
    Vasil Dimov authored
    sources: the innobase library, innochecksum and unit tests.
    
    InnoDB files use ER_* which imposes a dependency on GenError.
    Also, InnoDB's ha_prototypes.h includes sql_class.h includes
    sql_profile.h includes unireg.h includes mysqld_error.h. And
    mysqld_error.h is _generated_ by GenError, so compilation would
    fail if cmake/make attempts to compile any of the InnoDB targets
    before GenError.
    ab59cd19
    Hook ADD_DEPENDENCIES() to GenError to all targets that compile InnoDB
    Vasil Dimov authored
    sources: the innobase library, innochecksum and unit tests.
    
    InnoDB files use ER_* which imposes a dependency on GenError.
    Also, InnoDB's ha_prototypes.h includes sql_class.h includes
    sql_profile.h includes unireg.h includes mysqld_error.h. And
    mysqld_error.h is _generated_ by GenError, so compilation would
    fail if cmake/make attempts to compile any of the InnoDB targets
    before GenError.
Loading