nixpkgs/pkgs/desktops/kde-4.7/kdenetwork/FindmsiLBC.cmake
Yury G. Kudryashov 8abd44f249 Big kde-4.7.0 update
* Remove a lot of code duplication.
* Package almost all (except for smoke-based bindings).

svn path=/nixpkgs/trunk/; revision=28597
2011-08-15 18:06:26 +00:00

20 lines
493 B
CMake

# cmake macro to test msiLBC
# Copyright (c) 2009-2010 Pali Rohár <pali.rohar@gmail.com>
#
# MSILBC_FOUND
# MSILBC_LIBRARY
include ( FindPackageHandleStandardArgs )
if ( MSILBC_LIBRARY )
set ( MSILBC_FOUND true )
set ( msiLBC_FIND_QUIETLY true )
else ( MSILBC_LIBRARY )
find_library ( MSILBC_LIBRARY NAMES msilbc
PATH_SUFFIXES mediastreamer/plugins)
endif ( MSILBC_LIBRARY )
find_package_handle_standard_args ( msiLBC DEFAULT_MSG MSILBC_LIBRARY )
mark_as_advanced ( MSILBC_LIBRARY )