1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-23 08:14:45 +00:00
FairEmail/app/CMakeLists.txt

23 lines
655 B
Text
Raw Normal View History

2020-10-14 18:54:28 +00:00
2020-10-15 06:30:38 +00:00
# https://developer.android.com/studio/projects/configure-cmake
cmake_minimum_required(VERSION 3.4.1)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
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
)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
include_directories(src/main/jni/compact_enc_det)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
find_library(log-lib log)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
add_definitions(-DHAVE_MEMRCHR)
2020-10-14 18:54:28 +00:00
target_compile_options(compact_enc_det PRIVATE -Wno-c++11-narrowing)
2020-10-14 20:26:30 +00:00
target_link_libraries(compact_enc_det ${log-lib})