summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/swig
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-06-13 13:53:45 -0400
committerTom Rondeau <trondeau@vt.edu>2012-06-13 22:05:10 -0400
commit1300d48af4752037feac4fae7c3c64187cc0a5a8 (patch)
tree03de8a90b11caac49da563b13f50103fd537929d /gnuradio-core/src/lib/swig
parent9e299d568123f8df5188d0850311cb7f5b5e11f2 (diff)
log: fixed gr_log to be usable in Python.
Works with log4cxx installed and not installed.
Diffstat (limited to 'gnuradio-core/src/lib/swig')
-rw-r--r--gnuradio-core/src/lib/swig/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnuradio-core/src/lib/swig/CMakeLists.txt b/gnuradio-core/src/lib/swig/CMakeLists.txt
index f7af17b2d6..ab5faa04d4 100644
--- a/gnuradio-core/src/lib/swig/CMakeLists.txt
+++ b/gnuradio-core/src/lib/swig/CMakeLists.txt
@@ -42,10 +42,9 @@ set(GR_SWIG_LIBRARIES
# Only use if log4cxx is installed
# Define ENABLE_GR_LOG for the .i file to ignore it.
-#if(ENABLE_GR_LOG)
-# add_definitions(-DENABLE_GR_LOG)
-# SET(GR_SWIG_FLAGS "-DENABLE_GR_LOG")
-#endif(ENABLE_GR_LOG)
+if(ENABLE_GR_LOG)
+ SET(GR_SWIG_FLAGS "-DENABLE_GR_LOG")
+endif(ENABLE_GR_LOG)
########################################################################
# Build and install the swig targets