IDMASK V0.5
This commit is contained in:
15
CMakeLists.txt
Normal file
15
CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(IDMASK)
|
||||
|
||||
# Recherche OpenCV avec pkg-config
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(OpenCV REQUIRED opencv4)
|
||||
|
||||
# Définir les répertoires d'en-têtes
|
||||
include_directories(${OpenCV_INCLUDE_DIRS})
|
||||
|
||||
# Création de l'exécutable
|
||||
add_executable(IDMASK main.cpp)
|
||||
|
||||
# Lier les bibliothèques OpenCV à ton projet
|
||||
target_link_libraries(IDMASK ${OpenCV_LIBRARIES})
|
||||
Reference in New Issue
Block a user