diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2015-06-17 14:17:16 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-06-17 14:26:26 -0700 |
commit | 41b1d02c9882393376933280b3ab7dbad5dd336f (patch) | |
tree | e1a1cfab29ff2ae56a051da83f3e95a8fc7ed319 | |
parent | 7b684a238f05608abff3d10b728901d9665569e5 (diff) |
runtime: conditionalize THRIFT_INCLUDE_DIRS
-rw-r--r-- | gnuradio-runtime/lib/CMakeLists.txt | 7 |
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. ######################################################################## |