From 32c674378bacb1fd8e384db879197f3ad54338f9 Mon Sep 17 00:00:00 2001 From: ggfan Date: Fri, 27 Jul 2018 16:09:09 -0700 Subject: Added OBOE_ENABLE_LOGGING to guard against logging per github issue 175 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index be3b572d..e18d86a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,4 +35,7 @@ target_compile_options(oboe PRIVATE -std=c++11 PRIVATE "$<$:-Werror>" PRIVATE "$<$:-Ofast>") +# Enable logging when debugging +# target_compile_options(oboe PUBLIC -DOBOE_ENABLE_LOGGING=1) + target_link_libraries(oboe PRIVATE log OpenSLES) -- cgit v1.2.3