diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-06-13 13:53:45 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-06-13 22:05:10 -0400 |
commit | 1300d48af4752037feac4fae7c3c64187cc0a5a8 (patch) | |
tree | 03de8a90b11caac49da563b13f50103fd537929d /cmake | |
parent | 9e299d568123f8df5188d0850311cb7f5b5e11f2 (diff) |
log: fixed gr_log to be usable in Python.
Works with log4cxx installed and not installed.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrMiscUtils.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/GrMiscUtils.cmake b/cmake/Modules/GrMiscUtils.cmake index 6b708bf730..b589d8718f 100644 --- a/cmake/Modules/GrMiscUtils.cmake +++ b/cmake/Modules/GrMiscUtils.cmake @@ -254,6 +254,8 @@ function(GR_LOGGING) message(STATUS "ENABLE_GR_LOG set to ${ENABLE_GR_LOG}.") + SET(ENABLE_GR_LOG ${ENABLE_GR_LOG} CACHE INTERNAL "" FORCE) + if(ENABLE_GR_LOG) add_definitions( -DENABLE_GR_LOG ) else(ENABLE_GR_LOG) |