commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 01/01: cmake: Fixed bug in FindThrift.cmake


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/01: cmake: Fixed bug in FindThrift.cmake
Date: Wed, 10 Feb 2016 17:48:18 +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 0369e2fde4ae2de7cbc1b426c3eb9e6fcb2c5a32
Author: Tom Rondeau <address@hidden>
Date:   Wed Feb 10 12:14:37 2016 -0500

    cmake: Fixed bug in FindThrift.cmake
    
    pkg-config sets the variable INCLUDE_DIRS, not INCLUDE_DIR. Cmake
    wouldn't pick up the thrift package if installed in another prefix
    without this.
---
 cmake/Modules/FindThrift.cmake | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cmake/Modules/FindThrift.cmake b/cmake/Modules/FindThrift.cmake
index cef8a47..4702f90 100644
--- a/cmake/Modules/FindThrift.cmake
+++ b/cmake/Modules/FindThrift.cmake
@@ -13,10 +13,9 @@ endif(PC_THRIFT_FOUND AND PC_THRIFT_VERSION VERSION_LESS 
${THRIFT_REQ_VERSION})
 
 
 # Else, look for it ourselves
-
 FIND_PATH(THRIFT_INCLUDE_DIRS
   NAMES thrift/Thrift.h
-  HINTS ${PC_THRIFT_INCLUDE_DIR}
+  HINTS ${PC_THRIFT_INCLUDE_DIRS}
   ${CMAKE_INSTALL_PREFIX}/include
   PATHS
   /usr/local/include



reply via email to

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