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 176 176 177 177 if (CMAKE_BUILD_TYPE AND 178 178 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}") 180 180 endif() 181 181 182 182 set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )