CMAKE_BUILD_TYPE set to Release by default
authorVitaliy Kirsanov <krokoziabla@yandex-team.ru>
Tue, 30 Apr 2019 10:20:23 +0000 (13:20 +0300)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 4 May 2019 01:41:48 +0000 (11:41 +1000)
CMakeLists.txt

index 6d3666b..3d2b030 100644 (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")