@
weidaizi 还是报错
报错信息如下:
```
CMake Error at CMakeLists.txt:20 (find_package):
  By not providing "Findmysqlcppconn.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "mysqlcppconn", but CMake did not find one.
  Could not find a package configuration file provided by "mysqlcppconn" with
  any of the following names:
    mysqlcppconnConfig.cmake
    mysqlcppconn-config.cmake
  Add the installation prefix of "mysqlcppconn" to CMAKE_PREFIX_PATH or set
  "mysqlcppconn_DIR" to a directory containing one of the above files.  If
  "mysqlcppconn" provides a separate development package or SDK, be sure it
  has been installed.
```
我新加入的 cmake 代码如下
```
set(CMAKE_PREFIX_PATH "C:/Program Files/MySQL/MySQL Connector C++ 8.0/lib64/vs14")
find_package(mysqlcppconn REQUIRED)
```
我能看到 mysqlcppconn.lib 就在 vs14 文件夹里面,也设置了路径,但不知道为什么找不到