[CMake] Help creating a module for detecting mysql-connector-c++

Torri, Stephen CIV NSWCDD, W15 stephen.torri at navy.mil
Mon Jun 7 09:37:42 EDT 2010


I am revisiting the FindMysqlCppConnector.cmake file now that I have other problems solved. What I cannot determine is how to tell cmake to tell me all the path combinations it used to search for the MySQL Connector/C++ header and library files. The script you gave is attached. I am getting the follow messages from it: 
 
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE): 

Could NOT find MysqlConnectorCpp (missing: MYSQLCONNECTORCPP_INCLUDE_DIR

MYSQLCONNECTORCPP_LIBRARY)

Call Stack (most recent call first):

cmake/Modules/FindMysqlConnectorCpp.cmake:65 (find_package_handle_standard_args)

CMakeLists.txt:31 (find_package)

Configuring incomplete, errors occurred!

 

Stephen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindMysqlConnectorCpp.cmake
Type: application/octet-stream
Size: 2673 bytes
Desc: FindMysqlConnectorCpp.cmake
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100607/c11f3ae3/attachment-0001.obj>


More information about the CMake mailing list