Skip to content

Commit

Permalink
Temporarily switching the default to noop logger ext_lib while system…
Browse files Browse the repository at this point in the history
… dependency issue is solved for Windows/Mac.
  • Loading branch information
nburek committed Dec 5, 2018
1 parent 55a15c7 commit 5cddfc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcl/cmake/get_default_rc_logging_implementation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
macro(get_default_rc_logging_implementation var)

# if logging implementation already specified or RC_LOGGING_IMPLEMENTATION environment variable
# is set then use that, otherwise default to using rc_logging_log4cxx
# is set then use that, otherwise default to using rc_logging_noop
if(NOT "${RC_LOGGING_IMPLEMENTATION}" STREQUAL "")
set(_logging_implementation "${RC_LOGGING_IMPLEMENTATION}")
elseif(NOT "$ENV{RC_LOGGING_IMPLEMENTATION}" STREQUAL "")
set(_logging_implementation "$ENV{RC_LOGGING_IMPLEMENTATION}")
else()
set(_logging_implementation rc_logging_log4cxx)
set(_logging_implementation rc_logging_noop)
endif()

# persist implementation decision in cache
Expand Down

0 comments on commit 5cddfc2

Please sign in to comment.