/usr/lib/Wt/cmake/WtFindMysqlpp.txt is in witty-examples 3.2.1-2+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | # This file defines:
# - MYSQLPP_LIBRARIES
# - MYSQLPP_INCLUDE_DIRS
# - MYSQLPP_FOUND
# - MSQLPP_DEFINITIONS
# Taking into account:
# - MYSQL_PREFIX
FIND_LIBRARY(MYSQLPP_LIBRARIES mysqlpp
${MYSQL_PREFIX}/lib
/usr/lib
/usr/local/lib
/opt/local/lib
)
FIND_PATH(MYSQLPP_INCLUDE mysql++/mysql++.h
${MYSQL_PREFIX}/include
/usr/include
/usr/local/include
/opt/local/include
)
FIND_PATH(MYSQL_INCLUDE mysql.h
${MYSQL_PREFIX}/include
/usr/include
/usr/local/include
/usr/include/mysql
/opt/local/include/mysql5/mysql
/usr/local/include/mysql
)
SET(MYSQLPP_FOUND FALSE)
IF(MYSQLPP_LIBRARIES
AND MYSQLPP_INCLUDE
AND MYSQL_INCLUDE)
SET(MYSQLPP_FOUND TRUE)
SET(MYSQLPP_INCLUDE_DIRS ${MYSQLPP_INCLUDE} ${MYSQL_INCLUDE})
IF(WIN32)
# Static linkage of mysqlpp, hence we don't want __declspecs
SET(MSQLPP_DEFINITIONS -DMYSQLPP_NO_DLL)
ELSE(WIN32)
SET(MSQLPP_DEFINITIONS "")
ENDIF(WIN32)
ENDIF(MYSQLPP_LIBRARIES
AND MYSQLPP_INCLUDE
AND MYSQL_INCLUDE)
|