Default build to Release. (#177)
This commit is contained in:
committed by
GitHub
parent
0180ee9a4d
commit
79ca9bdd9d
@@ -1,6 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(snmalloc C CXX)
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
message(STATUS "No build type selected, default to: Release")
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
include(CheckCSourceCompiles)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user