ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You should add a directory named "cmake-modules" to your project. Inside this directory, create a file with the name "Findmysqlclient.cmake" and copy this content on it: http://www.cmake.org/Wiki/CMakeUserFindMySQL.

Then, change your CMakeLists.txt. Replace find_package(MySql REQUIRED) for find_package(mysqlclient REQUIRED)

Hope it helps!