set default cmake build type
This commit is contained in:
parent
555f9ce4cf
commit
5d2052e77f
1 changed files with 8 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue