Fixed c++ warning

This commit is contained in:
M66B 2021-01-19 09:59:54 +01:00
parent d8e894c377
commit d0555b522d
1 changed files with 2 additions and 2 deletions

View File

@ -65,14 +65,14 @@ add_library(fairemail SHARED
)
include_directories(
src/main/jni/compact_enc_det
src/main/jni
src/main/jni/compact_enc_det
)
find_library(log-lib log)
add_definitions(-DHAVE_MEMRCHR -DHAVE_PTHREAD)
target_compile_options(fairemail PRIVATE -Wno-c++11-narrowing)
target_compile_options(fairemail PRIVATE -Wno-c++11-narrowing -Wno-undefined-var-template)
target_link_libraries(fairemail ${log-lib})