Skip to content

Commit

Permalink
fix(android): enable logging on debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Oct 12, 2023
1 parent 802ecd4 commit ab180e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ include_directories(${RNLLAMA_LIB_DIR})

target_compile_options(${RNLLAMA_LIBRARY_NAME} PRIVATE -DLM_GGML_USE_K_QUANTS -pthread)

if (NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug")
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
target_compile_options(${RNLLAMA_LIBRARY_NAME} PRIVATE -DRNLLAMA_ANDROID_ENABLE_LOGGING)
endif ()

Expand Down

0 comments on commit ab180e0

Please sign in to comment.