/usr/lib/Wt/cmake/WtFindFcgi.txt is in witty-examples 3.3.0-1build1.
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 | # This file sets:
# - FCGI_INCLUDE_DIRS
# - FCGI_LIBRARIES
# - FCGI_FOUND
#
# Taking into account:
# - FCGI_PREFIX
FIND_PATH(FCGI_INCLUDE_DIR
fcgio.h
PATHS
/usr/include
/usr/local/include
/usr/include/fastcgi
)
FIND_LIBRARY(FCGI_LIB fcgi
${FCGI_PREFIX}/lib
/usr/lib
/usr/local/lib
)
FIND_LIBRARY(FCGIPP_LIB fcgi++
${FCGI_PREFIX}/lib
/usr/lib
/usr/local/lib
)
SET(FCGI_FOUND FALSE)
IF(FCGI_INCLUDE_DIR
AND FCGI_LIB
AND FCGIPP_LIB)
SET(FCGI_FOUND TRUE)
SET(FCGI_LIBRARIES ${FCGI_LIB} ${FCGIPP_LIB})
SET(FCGI_INCLUDE_DIRS ${FCGI_INCLUDE_DIR})
ENDIF(FCGI_INCLUDE_DIR
AND FCGI_LIB
AND FCGIPP_LIB)
|