12 lines
488 B
Diff
12 lines
488 B
Diff
Index: CMakeLists.txt
|
|
===================================================================
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -315,6 +315,7 @@ set(RELEASE_MODE 0)
|
|
|
|
if(cmake_build_type_lower STREQUAL "release" OR
|
|
cmake_build_type_lower STREQUAL "relwithdebinfo" OR
|
|
+ cmake_build_type_lower STREQUAL "none" OR
|
|
cmake_build_type_lower STREQUAL "minsizerel")
|
|
add_definitions(-D_RELEASE)
|
|
message(STATUS "Building RenderDoc in Release mode: ${CMAKE_BUILD_TYPE}")
|