Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 557154 | Differences between
and this patch

Collapse All | Expand All

(-)a/CMakeLists.txt (-6 / +1 lines)
Lines 4-15 cmake_minimum_required(VERSION 2.8.12.2) Link Here
4
4
5
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
5
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
6
  message(STATUS "No build type selected, default to Debug")
6
  message(STATUS "No build type selected, default to Debug")
7
  set(CMAKE_BUILD_TYPE "Debug")
7
#IGNORE   set(CMAKE_BUILD_TYPE "Debug")
8
endif()
9
10
if (CMAKE_BUILD_TYPE AND
11
    NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo|MinSizeRel)$")
12
  message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
13
endif()
8
endif()
14
9
15
if(POLICY CMP0022)
10
if(POLICY CMP0022)

Return to bug 557154