summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-runtime/lib/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/CMakeLists.txt b/gnuradio-runtime/lib/CMakeLists.txt
index b5be7f2127..cc51f97855 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.
########################################################################