diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-06-07 12:42:41 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-06-07 12:46:07 -0400 |
commit | a14010ec147e3c86f93245d34be58548493aaed1 (patch) | |
tree | b93eb5c56b22b49475d21e395235f0cf7ee01f44 | |
parent | f078026e1ac4037e6ec9212c6e8085ef683ab5bc (diff) |
digital: Adds checks to enable use of gr-log in digital blocks.
-rw-r--r-- | gr-digital/lib/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-digital/lib/CMakeLists.txt b/gr-digital/lib/CMakeLists.txt index 779972ff3a..72b4377de5 100644 --- a/gr-digital/lib/CMakeLists.txt +++ b/gr-digital/lib/CMakeLists.txt @@ -31,6 +31,15 @@ link_directories(${Boost_LIBRARY_DIRS}) ######################################################################## # Setup library ######################################################################## + +if(ENABLE_GR_LOG) + include_directories(${LOG4CXX_INCLUDE_DIRS}) + link_directories(${LOG4CXX_LIBRARIES}) + list(APPEND digital_libs ${LOG4CXX_LIBRARIES} ) +else(ENABLE_GR_LOG) + add_definitions(-DDISABLE_GR_LOG) +endif(ENABLE_GR_LOG) + list(APPEND gr_digital_sources digital_impl_mpsk_snr_est.cc digital_binary_slicer_fb.cc |