Commit fc1aac56 authored by Tom Finegan's avatar Tom Finegan

Default CMake build type to release with debug info.

Use RelWithDebInfo when CMAKE_BUILD_TYPE is empty in
non-emscripten builds.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: Ie1e8aba5949f28e66056e2efdff1a0fb26ad04bb
parent c44009c1
......@@ -9,6 +9,13 @@
## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
##
cmake_minimum_required(VERSION 3.5)
if (NOT EMSCRIPTEN)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
endif ()
endif ()
project(AOM C CXX)
set(AOM_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
......
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