On 31-Jul-15 19:44, Daniel Schepler wrote: > This seems to work for me: > set(CMAKE_BUILD_TYPE_INIT RelWithDebInfo) By the way you need to set it before first 'project' command. Also it will not have any effects for multi-config generators like Xcode or Visual Studio.