CMAKE_BUILD_TYPE set to Release by default

This commit is contained in:
Vitaliy Kirsanov 2019-04-30 13:20:23 +03:00 committed by Erik de Castro Lopo
parent b967ef060e
commit 1794b0cd79
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
cmake_minimum_required(VERSION 3.0)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
project(FLAC VERSION 1.3.2) # HOMEPAGE_URL "https://www.xiph.org/flac/")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")