![]() This can be done by adding -DMySQL_LIBRARY=libmysqld. To use the embedded MySQL server, simply link the Qt plugin to libmysqld instead of libmysqlclient. With the embedded MySQL server, a MySQL server is not required to use MySQL functionality. The MySQL embedded server is a drop-in replacement for the normal client library. Note: and are variables local to the current connection and will not be affected by queries sent from another host or connection. For example, you can do this as follows, to locate MySQL: this is required for PostgreSQL and SQLite). You should prefer this method if module needs to set properties for the provided target libraries (e.g. In some cases it's more convenient to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH variables to locate required libraries. ![]() This is especially useful if the package provides its own set of system libraries that should not be recognized by the build routine. ![]() When you configure drivers in the manner described above, CMake skips any dependency checks and uses the provided paths as is.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |