summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.7/kdenetwork/FindmsiLBC.cmake
blob: c40b0bed3105da4b02c1c0f656b663d1965b43ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 )