forked from bartvdbraak/blender
CMake: set default cmake build type to Release. Without that you would
get a build that has neither debug symbols nor optimization, now it will build an optimized blender by default.
This commit is contained in:
parent
3c43e8e50a
commit
a05b66defb
@ -53,6 +53,10 @@ if(NOT EXECUTABLE_OUTPUT_PATH)
|
||||
set(FIRST_RUN "TRUE")
|
||||
endif()
|
||||
|
||||
# set default build type to Release
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
||||
# this starts out unset
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build_files/cmake/Modules")
|
||||
|
Loading…
Reference in New Issue
Block a user