diff options
-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 ) |