cmake_minimum_required(VERSION 3.12)
project(face_detect C CXX)

set(src main.cc model.cc mobile_retinaface.cc anchors_320.cc util.cc)
set(bin face_detect)
add_executable(${bin} ${src})

# linux
target_link_libraries(${bin} nncase.rt_modules.k230 Nncase.Runtime.Native functional_k230 mmz -lpthread)

target_compile_options(${bin} PRIVATE -Wno-multichar -Wno-unused-result)
install(TARGETS ${bin} DESTINATION bin)