From 04b1fed13c916c4219c2a4c1e209b8cced713798 Mon Sep 17 00:00:00 2001 From: samelian Date: Mon, 7 Mar 2011 00:49:58 +0000 Subject: [dependencies/arts] using pkg-config for alsa detection git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1224003 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- CMakeLists.txt | 2 +- flow/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea002e0..f187b65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,7 @@ endif( WITH_AUDIOFILE ) set( HAVE_LIBASOUND2 0 ) if( WITH_ALSA ) - find_package( ALSA ) + pkg_search_module( ALSA alsa ) if( ALSA_FOUND ) diff --git a/flow/CMakeLists.txt b/flow/CMakeLists.txt index 4231957..a4059dd 100644 --- a/flow/CMakeLists.txt +++ b/flow/CMakeLists.txt @@ -72,7 +72,7 @@ add_custom_command( tde_add_library( artsflow_idl SHARED SOURCES artsflow.cc VERSION 1.0.0 - LINK mcop-shared ${ALSA_LIBRARY} + LINK mcop-shared ${ALSA_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} DEPENDENCIES mcopidl ) -- cgit v1.2.1