diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-07 00:49:58 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-07 00:49:58 +0000 |
commit | 04b1fed13c916c4219c2a4c1e209b8cced713798 (patch) | |
tree | 6432e4eb0aefa4f4d41677a26167e13c04b6494e | |
parent | 746a2c4f876cd0c3c4307a0c3cf5f7131802a16c (diff) | |
download | arts-04b1fed13c916c4219c2a4c1e209b8cced713798.tar.gz arts-04b1fed13c916c4219c2a4c1e209b8cced713798.zip |
[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
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | 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 ) |