8 lines
278 B
CMake
8 lines
278 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project( MotionWatch )
|
|
find_package( OpenCV REQUIRED )
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
|
add_executable( mow src/main.cpp )
|
|
target_link_libraries( mow ${OpenCV_LIBS} )
|