aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 783da38445..b25965ad11 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -423,7 +423,7 @@ foreach(THIS_FLAG ${WIRESHARK_LD_FLAGS})
set(V WS_LD_FLAG_VALID${C})
check_c_linker_flag(${${F}} ${V})
if (${${V}})
- set(WS_LINK_FLAGS ${WS_LINK_FLAGS} ${${F}})
+ set(WS_LINK_FLAGS "${WS_LINK_FLAGS} ${${F}}")
endif()
math(EXPR C "${C} + 1")
endforeach()