title: cmake "Cannot find MySQL" (using XAMPP)
body: <p>I'm using XAMPP to install and run MySQL, and when I run <code>me@host:/path/to/mysql-connector-cpp&gt; cmake .</code>, it throws </p>
  
  <pre><code>-- BOOST_INCLUDE_DIRS=/usr/local/include
  -- ENV{MYSQL_DIR} = 
  CMake Error at FindMySQL.cm:202 (MESSAGE):
    mysql_config wasn't found, -DMYSQL_CONFIG_EXECUTABLE=...
  Call Stack (most recent call first):
    CMakeLists.txt:166 (INCLUDE)
  
  
  CMake Error at FindMySQL.cm:204 (MESSAGE):
    Cannot find MySQL.  Include dir: MYSQL_INCLUDE_DIR-NOTFOUND library dir:
    cxxflags:
  Call Stack (most recent call first):
    CMakeLists.txt:166 (INCLUDE)
  
  
  -- Configuring incomplete, errors occurred!
  </code></pre>
  
  <p>I'm using XAMPP so I'm sure cmake is looking for MySQL in the wrong directory. How do I tell it where it's located?</p>