cmake_minimum_required(VERSION 2.6) project( stickletrack ) SET(CMAKE_BUILD_TYPE Release) # Uncomment if you want to do profiling with gprof # SET(CMAKE_CXX_FLAGS "-pg") find_package( OpenCV REQUIRED ) add_executable( stickletrack stickletrack.cpp masking.cpp tracking.cpp ) target_link_libraries( stickletrack ${OpenCV_LIBS} )