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})

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2021-12-05
  • 2021-10-06
  • 2021-07-12
  • 2021-11-07
  • 2021-11-28
  • 2022-02-10
猜你喜欢
  • 2021-08-28
  • 2021-06-21
  • 2021-12-23
  • 2021-06-10
  • 2022-02-18
  • 2021-07-12
  • 2022-12-23
相关资源
相似解决方案