mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 18:31:54 +00:00
[CMake] Properly set CMAKE_BUILD_TYPE to Debug by default
Summary: PR26666: CMAKE_BUILD_TYPE was previously being reset to blank. Reviewers: rnk, beanz Subscribers: llvm-commits Patch By: Derek Bruening Differential Revision: http://reviews.llvm.org/D17398 llvm-svn: 261273
This commit is contained in:
parent
5a759985de
commit
aa34a674c5
@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.8.12.2)
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
message(STATUS "No build type selected, default to Debug")
|
||||
set(CMAKE_BUILD_TYPE "Debug")
|
||||
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)")
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0022)
|
||||
|
Loading…
x
Reference in New Issue
Block a user