From 30d05d5edf9ec6a301bd24098327e928fef20821 Mon Sep 17 00:00:00 2001
From: Rene Milk <rene.milk@wwu.de>
Date: Thu, 7 Apr 2016 14:37:33 +0200
Subject: [PATCH] [cmake] fix another whitespace/list/string snafu

---
 CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18e9b602c..759a9b808 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,8 +51,9 @@ execute_process(
 )
 
 SET( DS_FLAGS_Release CACHE STRING
-  "-O2 -fPIC ${CMAKE_CXX_FLAGS_RELEASE}")
-set(DS_FLAGS_RelWithDebInfo "-g ${DS_FLAGS_Release}")
+  "-O2" "-fPIC" "${CMAKE_CXX_FLAGS_RELEASE}")
+set(DS_FLAGS_RelWithDebInfo
+  "-g" "${DS_FLAGS_Release}")
 
 SET( DS_FLAGS_Debug CACHE STRING
   "-O0 -g3 -ggdb -Wunused-variable -fno-strict-aliasing -fPIC -Wall -Wextra -Wparentheses -pedantic  -Wshadow -Wundef -Wnon-virtual-dtor")
-- 
GitLab