Created
May 14, 2018 14:48
-
-
Save jeff-hager-dev/35d3a150d32ffb8022932dcb3ba72669 to your computer and use it in GitHub Desktop.
[OpenCV CMake File] #C++ #OpenCV
This file contains hidden or 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.5) | |
project(know_you) | |
find_package(OpenCV REQUIRED) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
set(SOURCE_FILES main.cpp) | |
add_executable(opencv ${SOURCE_FILES}) | |
include_directories(${OpenCV_INCLUDE_DIRS}) | |
target_link_libraries(opencv ${OpenCV_LIBS}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment