Skip to content

Commit a90e1ec

Browse files
iwwugfxbot
authored andcommitted
Make CMAKE_BUILD_TYPE default as release
#34 Change-Id: Ib1a95807f516e3675cb1a4aab7b2433e87f0b325
1 parent c3c8cd1 commit a90e1ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1904,11 +1904,11 @@ else()
19041904
elseif(_buildType MATCHES "^debug$")
19051905
set(_buildType "Debug")
19061906
else()
1907-
set(_buildType "Debug")
1907+
set(_buildType "Release")
19081908
message(WARNING "CMAKE_BUILD_TYPE: Unknown build configuration. The following configurations are available: ${IGC_CMAKE_CONFIGURATION_TYPES}.\nThe \"${_buildType}\" configuration will be used.\nThis value has meaning only for single-configuration generators (like Make). It will be ignored for MSVC/XCode.")
19091909
endif()
19101910
else()
1911-
set(_buildType "Debug")
1911+
set(_buildType "Release")
19121912
message(WARNING "CMAKE_BUILD_TYPE: No build configuration specified. The following configurations are available: ${IGC_CMAKE_CONFIGURATION_TYPES}.\nThe \"${_buildType}\" configuration will be used.\nThis value has meaning only for single-configuration generators (like Make). It will be ignored for MSVC/XCode.")
19131913
endif()
19141914
set(CMAKE_BUILD_TYPE "${_buildType}")

0 commit comments

Comments
 (0)