set default cmake build type

This commit is contained in:
xantares 2015-09-01 08:55:53 +02:00
parent 555f9ce4cf
commit 5d2052e77f

View file

@ -1,5 +1,11 @@
PROJECT(libnfc C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
cmake_minimum_required (VERSION 2.6)
if (NOT DEFINED CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type")
endif ()
project (libnfc C)
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "7")
SET(VERSION_PATCH "1")