1 Star 1 Fork 2

DEAN/mxnet-insightface-cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 754 Bytes
一键复制 编辑 原始数据 按行查看 历史
njvisionpower 提交于 2019-06-23 23:15 . support Linux
cmake_minimum_required(VERSION 3.2)
ADD_DEFINITIONS(-std=c++11)
OPTION(LINUX "Option description" OFF)
IF(LINUX)
ADD_DEFINITIONS(-DLINUX)
ENDIF(LINUX)
PROJECT(mxnet-insightface-cpp)
FIND_PACKAGE(OpenCV REQUIRED)
MESSAGE(STATUS " OpenCV library status:")
MESSAGE(STATUS " version: ${OpenCV_VERSION}")
MESSAGE(STATUS " libraries: ${OpenCV_LIBS}")
MESSAGE(STATUS " include path: ${OpenCV_INCLUDE_DIRS}")
INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(
include/include
include/include/cpp-package
)
AUX_SOURCE_DIRECTORY(src DIR_SRCS)
LINK_DIRECTORIES(./lib)
ADD_EXECUTABLE(mxnet-insightface-cpp ${DIR_SRCS})
TARGET_LINK_LIBRARIES(mxnet-insightface-cpp ${OpenCV_LIBS} mxnet)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shootdean/mxnet-insightface-cpp.git
git@gitee.com:shootdean/mxnet-insightface-cpp.git
shootdean
mxnet-insightface-cpp
mxnet-insightface-cpp
master

搜索帮助