cmake/FindMySQLpp.cmake
7293634e
 FIND_PATH(MYSQLPP_INCLUDE_DIR mysql++/mysql++.h)
 FIND_LIBRARY(MYSQLPP_LIBRARIES NAMES mysqlpp)
 
 IF(MYSQLPP_INCLUDE_DIR AND MYSQLPP_LIBRARIES)
 	SET(MYSQLPP_FOUND TRUE)
 ENDIF(MYSQLPP_INCLUDE_DIR AND MYSQLPP_LIBRARIES)
 
 IF(MYSQLPP_FOUND)
 	IF (NOT MySQLpp_FIND_QUIETLY)
 		MESSAGE(STATUS "Found mysql++ includes:	${MYSQLPP_INCLUDE_DIR}/mysql++/mysql++.h")
 		MESSAGE(STATUS "Found mysql++ library: ${MYSQLPP_LIBRARIES}")
 	ENDIF (NOT MySQLpp_FIND_QUIETLY)
 ELSE(MYSQLPP_FOUND)
 	IF (MySQLpp_FIND_REQUIRED)
 		MESSAGE(FATAL_ERROR "Could NOT find mysql++ development files")
 	ENDIF (MySQLpp_FIND_REQUIRED)
 ENDIF(MYSQLPP_FOUND)