We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e94b0 commit 4342cf2Copy full SHA for 4342cf2
examples/selective_build/CMakeLists.txt
@@ -115,7 +115,7 @@ list(TRANSFORM _executor_runner__srcs PREPEND "${EXECUTORCH_ROOT}/")
115
# link to
116
#
117
add_executable(selective_build_test ${_executor_runner__srcs})
118
-if(CMAKE_BUILD_TYPE EQUAL "RELEASE")
+if(CMAKE_BUILD_TYPE EQUAL "Release")
119
target_link_options(selective_build_test PRIVATE "LINKER:--gc-sections")
120
endif()
121
target_link_libraries(
0 commit comments