cmake_minimum_required(VERSION 2.6)

project(CMT)
set(CMT_VERSION_MAJOR 1)
set(CMT_VERSION_MINOR 0)

find_package(OpenCV REQUIRED)

add_subdirectory(src)

cmake_minimum_required(VERSION 2.6)

project(CMT)
set(CMT_VERSION_MAJOR 1)
set(CMT_VERSION_MINOR 0)

set(${CMAKE_BUILD_TYPE} Release)

find_package(OpenCV REQUIRED)

add_subdirectory(src)

Set default CMAKE_BUILD_TYPE to Release
Set default CMAKE_BUILD_TYPE to Release
