project(FaceAccess) cmake_minimum_required(VERSION 3.27) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(OPENSSL_ROOT /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/openssl-1.0.2q) set(OPENSSL_INCLUDE_DIR ${OPENSSL_ROOT}/include) set(ALSA_ROOT /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/libalsa-1.1.5) set(ALSA_INCLUDE_DIR ${ALSA_ROOT}/include) set(ALSA_LIBRARY_DIRS ${ALSA_ROOT}/lib) set(FFMPEG_ROOT /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/ffmpeg-4.1.3) set(FFMPEG_INCLUDE_DIR ${FFMPEG_ROOT}/include) set(FFMPEG_LIBRARY_DIRS ${FFMPEG_ROOT}/lib) set(FFMPEG_LIBRARY avcodec avdevice avfilter avformat avutil postproc swresample swscale) set(MPP_ROOT /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/rockchip_mpp) set(MPP_INCLUDE_DIR ${MPP_ROOT}/include) set(MPP_LIBRARY_DIRS ${MPP_ROOT}/rk-libs) include(FetchContent) FetchContent_Declare(Kylin GIT_REPOSITORY https://gitea.amass.fun/amass/Kylin.git ) FetchContent_MakeAvailable(Kylin) add_subdirectory(GatePass) add_subdirectory(Record) add_subdirectory(VoucherVerifyServer)