kde-extraapps/amarok/cmake/modules/FindIfp.cmake
2014-11-28 15:37:25 +00:00

24 lines
666 B
CMake

# - Find IFP library
# Find the native IFP includes and library
# This module defines
# IFP_INCLUDE_DIR, where to find ifp.h, etc.
# IFP_LIBRARIES, libraries to link against to use IFP.
# IFP_FOUND, If false, do NOT try to use IFP.
# also defined, but NOT for general use are
# IFP_LIBRARY, where to find the IFP library.
if (IFP_INCLUDE_DIR)
# Already in cache, be silent
set(Ifp_FIND_QUIETLY TRUE)
endif (IFP_INCLUDE_DIR)
FIND_PATH(IFP_INCLUDE_DIR ifp.h
)
FIND_LIBRARY(IFP_LIBRARY ifp
)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(IFP DEFAULT_MSG IFP_LIBRARY IFP_INCLUDE_DIR)
MARK_AS_ADVANCED(IFP_INCLUDE_DIR IFP_LIBRARY)