[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/03: runtime: conditionalize THRIFT_INCLU
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/03: runtime: conditionalize THRIFT_INCLUDE_DIRS |
Date: |
Wed, 17 Jun 2015 21:58:36 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 41b1d02c9882393376933280b3ab7dbad5dd336f
Author: Johnathan Corgan <address@hidden>
Date: Wed Jun 17 14:17:16 2015 -0700
runtime: conditionalize THRIFT_INCLUDE_DIRS
---
gnuradio-runtime/lib/CMakeLists.txt | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnuradio-runtime/lib/CMakeLists.txt
b/gnuradio-runtime/lib/CMakeLists.txt
index b5be7f2..cc51f97 100644
--- a/gnuradio-runtime/lib/CMakeLists.txt
+++ b/gnuradio-runtime/lib/CMakeLists.txt
@@ -55,10 +55,15 @@ include_directories(${GNURADIO_RUNTIME_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}/../include/
${VOLK_INCLUDE_DIRS}
- ${THRIFT_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
+if(ENABLE_CTRLPORT_THRIFT)
+ list(APPEND include_directories
+ ${THRIFT_INCLUDE_DIRS}
+ )
+endif(ENABLE_CTRLPORT_THRIFT)
+
########################################################################
# Include subdirs rather to populate to the sources lists.
########################################################################