Well, after further investigation it seems that the cmake.org module doesn't do the same job as the bundled one does - it only links to libmysqlclient.so and doesn't set MYSQL_CFLAGS. Since the build succeeded without them anyway maybe they are not needed at all ?
Well, after further investigation it seems that the cmake.org module doesn't do the same job as the bundled one does - it only links to libmysqlclient.so and doesn't set MYSQL_CFLAGS. Since the build succeeded without them anyway maybe they are not needed at all ?