Skip to content

Commit 807867a

Browse files
swolchokYIWENX14
authored andcommitted
Don't repeat default for CMAKE_CXX_FLAGS_DEBUG (#7743)
Debug build type already has defaults, and the flags we set are likely to be those defaults on Unix-like platforms. Why break Windows compatibility?
1 parent 385b0fb commit 807867a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ else()
164164
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
165165
endif()
166166

167-
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
168-
169167
option(EXECUTORCH_BUILD_ANDROID_JNI "Build Android JNI" OFF)
170168

171169
option(EXECUTORCH_BUILD_ARM_BAREMETAL

0 commit comments

Comments
 (0)