option(WITH_TLD "Enable Tracking Learning Detection (TLD) Tracker" ON)
if(WITH_TLD)
	add_subdirectory(${CMAKE_CURRENT_LIST_DIR})
	set(THIRD_PARTY_TRACKERS ${THIRD_PARTY_TRACKERS} TLD/src/TLD)
	set(THIRD_PARTY_INCLUDE_DIRS ${THIRD_PARTY_INCLUDE_DIRS} TLD/include)
	set(THIRD_PARTY_LIBS ${THIRD_PARTY_LIBS} opentld cvblobs)
else(WITH_TLD)		
	set(THIRD_PARTY_DEFINITIONS ${THIRD_PARTY_DEFINITIONS} DISABLE_TLD)
	message(STATUS "TLD disabled")
endif(WITH_TLD)
