Ticket #45251: patch-accept-build_types.diff

File patch-accept-build_types.diff, 515 bytes (added by RJVB (René Bertin), 8 years ago)
  • CMakeLists.txt

    a b  
    176176
    177177if (CMAKE_BUILD_TYPE AND
    178178    NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$")
    179   message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
     179  message(STATUS "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
    180180endif()
    181181
    182182set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )