cmake_minimum_required(VERSION 2.8) add_subdirectory(piotr_fhog) add_subdirectory(cn) set(KCF_LIB_SRC kcf.cpp kcf.h complexmat.hpp) include_directories(${CUDA_INCLUDE_DIRS}) add_library(kcf STATIC ${KCF_LIB_SRC}) target_link_libraries(kcf ${OpenCV_LIBS} fhog cndata) set_target_properties(kcf PROPERTIES VERSION 1.0.0 SOVERSION 1)