标签:配置 set target ini targe rar project and cmak
cmake_minimum_required(VERSION 3.10)
project(yolo_example)
set(CMAKE_CXX_STANDARD 11)
include(FindPkgConfig)
pkg_check_modules(GLIB glib-2.0 REQUIRED)
include_directories(${GLIB_INCLUDE_DIRS})
add_executable(yolo_example main.cpp)
target_link_libraries(yolo_example ${GLIB_LIB})
标签:配置 set target ini targe rar project and cmak
原文地址:https://www.cnblogs.com/wangshuyi/p/12151132.html