JustMotion/CMakeLists.txt

8 lines
333 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 2.8.12)
2022-04-14 09:45:54 -04:00
project( MotionWatch )
find_package( OpenCV REQUIRED )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -pthread")
2022-04-14 09:45:54 -04:00
include_directories( ${OpenCV_INCLUDE_DIRS} )
add_executable( mow src/main.cpp src/common.cpp src/mo_detect.cpp src/obj_detect.cpp )
2022-04-14 09:45:54 -04:00
target_link_libraries( mow ${OpenCV_LIBS} )