Skip to content

Commit 226cd09

Browse files
authored
Merge pull request #2138 from drodriguez/relwithdebinfo-optmized
[foundation] RelWithDebInfo should build the same as Release.
2 parents 0ad5b17 + ac3d300 commit 226cd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ endif()
5959
add_dependencies(uuid CoreFoundation)
6060

6161
set(swift_optimization_flags)
62-
if(CMAKE_BUILD_TYPE MATCHES Release)
62+
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
6363
set(swift_optimization_flags -O)
6464
endif()
6565
if(ENABLE_TESTING)

0 commit comments

Comments
 (0)