Commit db0cc5b2 authored by James Zern's avatar James Zern

cmake: set default CMAKE_BUILD_TYPE to Release

this matches configure

Change-Id: I95f6f073b9dba1ae2c2b48b6c89a762277777dfe
parent 0401e894
...@@ -12,7 +12,7 @@ cmake_minimum_required(VERSION 3.5) ...@@ -12,7 +12,7 @@ cmake_minimum_required(VERSION 3.5)
if (NOT EMSCRIPTEN) if (NOT EMSCRIPTEN)
if (NOT CMAKE_BUILD_TYPE) if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE set(CMAKE_BUILD_TYPE "Release" CACHE
"Build type: Debug, Release, RelWithDebInfo or MinSizeRel" STRING FORCE) "Build type: Debug, Release, RelWithDebInfo or MinSizeRel" STRING FORCE)
endif () endif ()
endif () endif ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment