mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
365 B
15 lines
365 B
PROJECT(opencv_example) |
|
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) |
|
if(COMMAND cmake_policy) |
|
cmake_policy(SET CMP0003 NEW) |
|
endif(COMMAND cmake_policy) |
|
|
|
FIND_PACKAGE( OpenCV REQUIRED ) |
|
|
|
# Declare the target (an executable) |
|
ADD_EXECUTABLE(opencv_example minarea.c) |
|
|
|
TARGET_LINK_LIBRARIES(opencv_example ${OpenCV_LIBS}) |
|
|
|
#MESSAGE(STATUS "OpenCV_LIBS: ${OpenCV_LIBS}")
|
|
|