aboutsummaryrefslogtreecommitdiff
path: root/adapters/gtest/config.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-08-30 23:17:59 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-08-30 23:17:59 -0500
commit172f4b21045a424f38145a89ba2bfcce304c3761 (patch)
tree3c33bf1dcfb3e58aa298ad75275953b74bf51637 /adapters/gtest/config.go
parent6e23fd63605ee2f599413d7e5e9d3a7a75cf4112 (diff)
downloadplanr-172f4b21045a424f38145a89ba2bfcce304c3761.tar.xz
planr-172f4b21045a424f38145a89ba2bfcce304c3761.zip
Fix bug where paths with spaces would fail to build due to lack of CMake escape
Diffstat (limited to 'adapters/gtest/config.go')
-rw-r--r--adapters/gtest/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/gtest/config.go b/adapters/gtest/config.go
index cb5ba75..cff45fa 100644
--- a/adapters/gtest/config.go
+++ b/adapters/gtest/config.go
@@ -64,7 +64,7 @@ func (cfg GtestConfig) srcList() string {
if cfg.Srcs != nil {
srcs := make([]string, len(*cfg.Srcs))
for i, src := range *cfg.Srcs {
- srcs[i] = cfg.joinSrcs(src)
+ srcs[i] = "\"" + cfg.joinSrcs(src) + "\""
}
srcList = strings.Join(srcs, "\n ")