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 28e359c commit bbfa297Copy full SHA for bbfa297
CMakeLists.txt
@@ -103,7 +103,7 @@ endif()
103
104
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
105
add_compile_options(-ffunction-sections -fdata-sections)
106
- add_link_options(-Wl,-dead_strip)
+ add_link_options(-Wl,--dead_strip)
107
elseif (MSVC)
108
# MSVC equivalent for dead code stripping
109
add_link_options(/OPT:REF /OPT:ICF)
0 commit comments