Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
5062CEM_OpenCV_Demo_CPP/CMakeLists.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
27 lines (17 sloc)
988 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.23) | |
project(5062CEM_OpenCV_Demo_CPP) | |
set(CMAKE_CXX_STANDARD 14) | |
set(OpenCV_DIR "/opt/opencv/build") | |
find_package(OpenCV REQUIRED) | |
include_directories(${OpenCV_INCLUDE_DIRS}) | |
add_executable(5062CEM_OpenCV_Demo_CPP main_object_detection.cpp header_files/object_detector.h header_files/image_handler.h) | |
set(OpenCV_LIBS opencv_core opencv_imgproc opencv_highgui opencv_imgcodecs opencv_xfeatures2d opencv_features2d opencv_calib3d) | |
target_link_libraries(5062CEM_OpenCV_Demo_CPP ${OpenCV_LIBS}) | |
project(5062CEM_OpenCV_Demo_CPP2) | |
set(CMAKE_CXX_STANDARD 14) | |
set(OpenCV_DIR "/opt/opencv/build") | |
find_package(OpenCV REQUIRED) | |
include_directories(${OpenCV_INCLUDE_DIRS}) | |
add_executable(5062CEM_OpenCV_Demo_CPP2 main_image_handling.cpp header_files/image_handler.h) | |
set(OpenCV_LIBS opencv_core opencv_imgproc opencv_highgui opencv_imgcodecs opencv_xfeatures2d opencv_features2d opencv_calib3d) | |
target_link_libraries(5062CEM_OpenCV_Demo_CPP2 ${OpenCV_LIBS}) |