summaryrefslogtreecommitdiff
path: root/cmake
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 /cmake
parent9e299d568123f8df5188d0850311cb7f5b5e11f2 (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.cmake2
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)