MERGE branch STM 325:449 into trunk

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@450 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2012-03-03 01:46:30 +00:00
parent c4aff5f20a
commit a2eb8bcab6
100 changed files with 76652 additions and 5164 deletions

View File

@@ -0,0 +1,34 @@
# - Find FFTW3F
# This module finds an installed FFTW3F package.
#
# It sets the following variables:
# FFTW3F_FOUND - Set to false, or undefined, if FFTW3F isn't found.
# FFTW3F_INCLUDE_DIRS - The FFTW3F include directory.
# FFTW3F_LIBRARIES - The FFTW3F library to link against.
#
#
FIND_PATH(FFTW3F_INCLUDE_DIRS
fftw3.h
PATHS fftw/)
FIND_LIBRARY(FFTW3F_LIBRARIES NAMES fftw3f-3 fftw3f libfftw3f-3)
IF (FFTW3F_INCLUDE_DIRS AND FFTW3F_LIBRARIES)
SET(FFTW3F_FOUND TRUE)
ENDIF (FFTW3F_INCLUDE_DIRS AND FFTW3F_LIBRARIES)
IF (FFTW3F_FOUND)
# show which FFTW3F was found only if not quiet
IF (NOT FFTW3F_FIND_QUIETLY)
MESSAGE(STATUS "Found FFTW3F: ${FFTW3F_LIBRARIES}")
ENDIF (NOT FFTW3F_FIND_QUIETLY)
ELSE (FFTW3F_FOUND)
# fatal error if FFTW3F is required but not found
IF (FFTW3F_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find FFTW3F")
ENDIF (FFTW3F_FIND_REQUIRED)
ENDIF (FFTW3F_FOUND)