forked from mirrors/nixpkgs
8abd44f249
* Remove a lot of code duplication. * Package almost all (except for smoke-based bindings). svn path=/nixpkgs/trunk/; revision=28597
20 lines
493 B
CMake
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 )
|