Skip to content

Commit bbfa297

Browse files
committed
Compilation fix
1 parent 28e359c commit bbfa297

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
@@ -103,7 +103,7 @@ endif()
103103

104104
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
105105
add_compile_options(-ffunction-sections -fdata-sections)
106-
add_link_options(-Wl,-dead_strip)
106+
add_link_options(-Wl,--dead_strip)
107107
elseif (MSVC)
108108
# MSVC equivalent for dead code stripping
109109
add_link_options(/OPT:REF /OPT:ICF)

0 commit comments

Comments
 (0)