1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-24 08:44:26 +00:00
FairEmail/app/CMakeLists.txt
2020-10-15 08:30:38 +02:00

22 lines
655 B
CMake

# https://developer.android.com/studio/projects/configure-cmake
cmake_minimum_required(VERSION 3.4.1)
add_library(compact_enc_det SHARED
src/main/jni/charset.cc
src/main/jni/compact_enc_det/compact_enc_det/compact_enc_det.cc
src/main/jni/compact_enc_det/compact_enc_det/compact_enc_det_hint_code.cc
src/main/jni/compact_enc_det/util/encodings/encodings.cc
src/main/jni/compact_enc_det/util/languages/languages.cc
)
include_directories(src/main/jni/compact_enc_det)
find_library(log-lib log)
add_definitions(-DHAVE_MEMRCHR)
target_compile_options(compact_enc_det PRIVATE -Wno-c++11-narrowing)
target_link_libraries(compact_enc_det ${log-lib})