~ubuntu-branches/ubuntu/trusty/mapcache/trusty

« back to all changes in this revision

Viewing changes to cmake/FindFCGI.cmake

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2013-09-11 19:16:06 UTC
  • Revision ID: package-import@ubuntu.com-20130911191606-9aydo919w4dgjx9v
Tags: upstream-1.2.0
ImportĀ upstreamĀ versionĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Look for the header file.
 
2
find_path(FCGI_INCLUDE_DIR NAMES fastcgi.h)
 
3
 
 
4
# Look for the library.
 
5
find_library(FCGI_LIBRARY NAMES fcgi)
 
6
 
 
7
set(FCGI_INCLUDE_DIRS ${FCGI_INCLUDE_DIR})
 
8
set(FCGI_LIBRARIES ${FCGI_LIBRARY})
 
9
include(FindPackageHandleStandardArgs)
 
10
find_package_handle_standard_args(FCGI DEFAULT_MSG FCGI_LIBRARY FCGI_INCLUDE_DIR)
 
11
mark_as_advanced(FCGI_LIBRARY FCGI_INCLUDE_DIR)