Trying to build a software, the cmake
CMakeFileList.txt
ask for MySQL
. I am unable to find this files in my modules, neither in the uninstalled libraries.
Considering how popular is MySQL, I guess I am missing something.
Where to find FindMySQL.cmake for MySQL client development library?
Or
What is wrong, what changed, what is the cause of this library being unavailable?
Note: I am using Ubuntu 17.
Obvious tries to solve the issue:
- Searching on the Ubuntu package search page.
- Using
apt-cache search
- Searching for FindMySQL on the web
Edited for answering @Tsyvarev
The error is:
CMake Error at CMakeLists.txt:155 (message):
MySQL not found
Searching in /usr/share/cmake-3.7/Modules/
find . -iname "mysql"
I get no results, so FindMySQLConfig or Findmysql-config are not helping.
apt-get install libmysqlclient libmysql++-dev libmysql++3v5
Are installed and up to date.
Software usually declares dependencies, but don't includes other software inside. This is the common way.