Default build to Release. (#177)

This commit is contained in:
Matthew Parkinson
2020-05-06 18:24:45 +01:00
committed by GitHub
parent 0180ee9a4d
commit 79ca9bdd9d

View File

@@ -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)