feat: init OpenCV C++ training course with 8 experiments and detailed tutorial
This commit is contained in:
11
exp4_canny/CMakeLists.txt
Normal file
11
exp4_canny/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# ============================================================
|
||||
# 实验 4:Canny 边缘检测 - CMake 构建配置文件
|
||||
# ============================================================
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(exp4_canny)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
find_package(OpenCV REQUIRED)
|
||||
add_executable(exp4 main.cpp)
|
||||
target_link_libraries(exp4 ${OpenCV_LIBS})
|
||||
include_directories(${OpenCV_INCLUDE_DIRS})
|
||||
Reference in New Issue
Block a user