Files
fail/cmake/FindLibPCL.cmake
hsc 4a4b3ea7e2 FailBochs build process reversed
The FailBochs client is not linked by the Bochs build system anymore, but
by our cmake scripts (make fail-client):
 -  All Bochs libraries are merged into libfailbochs.a (a new target
    within the Bochs Autotools scripts).
 -  The previous libfail.a is *not* a merge of all Fail* libraries anymore,
    but pulls these in via library dependencies.

Additionally I did a lot of build system cleanup, e.g. additional external
libraries may now be pulled in where they're needed.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1390 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-06-29 22:22:41 +00:00

22 lines
795 B
CMake

# - Try to find PCL library (Portable Coroutine Library, libpcl1)
# Once done this will define
#
# LIBPCL_FOUND - system has libPCL
# LIBPCL_INCLUDE_DIRS - the libPCL include directory
# LIBPCL_LIBRARIES - Link these to use libPCL
# LIBPCL_DEFINITIONS - Compiler switches required for using libPCL
FIND_PATH(LIBPCL_INCLUDE_DIRS pcl.h)
FIND_LIBRARY(LIBPCL_LIBRARIES NAMES pcl
PATHS /usr/lib /usr/local/lib /opt/local/lib
ENV LIBRARY_PATH # PATH and LIB will also work
ENV LD_LIBRARY_PATH)
# handle the QUIETLY and REQUIRED arguments and set LIBPCL_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(libPCL DEFAULT_MSG LIBPCL_LIBRARIES LIBPCL_INCLUDE_DIRS)
MARK_AS_ADVANCED(LIBPCL_INCLUDE_DIRS LIBPCL_LIBRARIES)