mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
0f6b9f2816
CMake Ceph Build System (Firefly) CMake. Add tests. Respace src/CMakeLists.txt. CMake. Spacing cleanups. CMake for Firefly is Triumphant CMake for Giant Adapt to Giant. Fix installation for scripts and man pages Fix CEPH_LIBDIR and CEPH_PKGLIBDIR defines Add erasure-code libraries uses try_compile() to detect support for -msse flags Fix rados object classes Propagate Casey's cls library change to src/test. Fix CMake build for Hammer. Try-add rados and common to librbd link. Fix name and linkage of libec_lrc. Rename arch/neon.c arm.c Fix libcommon.a dependencies (some unit tests). Authors: Ali Maredia <ali@cohortfs.com> Casey Bodley <casey@cohortfs.com> Adam Emerson <aemerson@cohortfs.com> Marcus Watts <mdw@cohortfs.com> Matt Benjamin <matt@cohortfs.com> Signed-off-by: Matt Benjamin <matt@cohortfs.com>
36 lines
809 B
CMake
36 lines
809 B
CMake
# CMake module to search for FastCGI headers
|
|
#
|
|
# If it's found it sets FCGI_FOUND to TRUE
|
|
# and following variables are set:
|
|
# FCGI_INCLUDE_DIR
|
|
# FCGI_LIBRARY
|
|
FIND_PATH(FCGI_INCLUDE_DIR
|
|
fcgio.h
|
|
PATHS
|
|
/usr/include
|
|
/usr/local/include
|
|
/usr/include/fastcgi
|
|
"$ENV{LIB_DIR}/include"
|
|
$ENV{INCLUDE}
|
|
)
|
|
FIND_LIBRARY(FCGI_LIBRARY NAMES fcgi libfcgi PATHS
|
|
/usr/local/lib
|
|
/usr/lib
|
|
"$ENV{LIB_DIR}/lib"
|
|
"$ENV{LIB}"
|
|
)
|
|
|
|
IF (FCGI_INCLUDE_DIR AND FCGI_LIBRARY)
|
|
SET(FCGI_FOUND TRUE)
|
|
ENDIF (FCGI_INCLUDE_DIR AND FCGI_LIBRARY)
|
|
|
|
IF (FCGI_FOUND)
|
|
IF (NOT FCGI_FIND_QUIETLY)
|
|
MESSAGE(STATUS "Found FCGI: ${FCGI_LIBRARY}")
|
|
ENDIF (NOT FCGI_FIND_QUIETLY)
|
|
ELSE (FCGI_FOUND)
|
|
IF (FCGI_FIND_REQUIRED)
|
|
MESSAGE(FATAL_ERROR "Could not find FCGI")
|
|
ENDIF (FCGI_FIND_REQUIRED)
|
|
ENDIF (FCGI_FOUND)
|