Advertisement
BoneFort

Untitled

Nov 10th, 2023 (edited)
1,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.32 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.0)
  2. project(SDI)
  3.  
  4. set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
  5.  
  6. include(${CMAKE_CURRENT_SOURCE_DIR}/libs/opencv/lib/cmake/opencv4/OpenCVConfig.cmake)
  7.  
  8. add_executable(SDI main.cpp)
  9. target_link_libraries(SDI PRIVATE ${OpenCV_LIBS})
  10. target_include_directories(SDI PRIVATE ${OpenCV_INCLUDE_DIRS})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement