commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/04: cmake: fix FindPortaudio pkg-config


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/04: cmake: fix FindPortaudio pkg-config support
Date: Fri, 16 May 2014 23:49:29 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 2136cda19f8629fc7c3fda67805515dab0e41c90
Author: Peter A. Bigot <address@hidden>
Date:   Sat May 10 06:50:30 2014 -0500

    cmake: fix FindPortaudio pkg-config support
    
    Look for portaudio-2.0 which is the standard pkg-config name for the
    portaudio API that gnuradio requires.  Correct the variable name in the
    include directory hint derived from pkg-config information.
    
    Signed-off-by: Peter A. Bigot <address@hidden>
---
 cmake/Modules/FindPortaudio.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/Modules/FindPortaudio.cmake 
b/cmake/Modules/FindPortaudio.cmake
index 61e4ae2..e28858b 100644
--- a/cmake/Modules/FindPortaudio.cmake
+++ b/cmake/Modules/FindPortaudio.cmake
@@ -6,7 +6,7 @@
 #  PORTAUDIO_LIBRARIES - Link these to use Portaudio
 
 include(FindPkgConfig)
-pkg_check_modules(PC_PORTAUDIO portaudio)
+pkg_check_modules(PC_PORTAUDIO portaudio-2.0)
 
 find_path(PORTAUDIO_INCLUDE_DIRS
   NAMES
@@ -15,7 +15,7 @@ find_path(PORTAUDIO_INCLUDE_DIRS
       /usr/local/include
       /usr/include
   HINTS
-    ${PC_PORTAUDIO_INCLUDE_DIR}
+    ${PC_PORTAUDIO_INCLUDEDIR}
 )
 
 find_library(PORTAUDIO_LIBRARIES



reply via email to

[Prev in Thread] Current Thread [Next in Thread]