This is an automated email from the ASF dual-hosted git repository.

naraj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git


The following commit(s) were added to refs/heads/master by this push:
     new 1dd56b8  cmake: Fix link dir paths on Windows
1dd56b8 is described below

commit 1dd56b8686074698586bfbfa10fb0942db9238d5
Author: MichaƂ Narajowski <[email protected]>
AuthorDate: Wed Jul 1 15:07:00 2020 +0200

    cmake: Fix link dir paths on Windows
---
 newt/builder/cmake.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newt/builder/cmake.go b/newt/builder/cmake.go
index 84517a3..c4092bc 100644
--- a/newt/builder/cmake.go
+++ b/newt/builder/cmake.go
@@ -177,6 +177,7 @@ func (b *Builder) CMakeBuildPackageWrite(w io.Writer, bpkg 
*BuildPackage,
        }
 
        if len(linkDirs) > 0 {
+               replaceBackslashesSlice(linkDirs)
                fmt.Fprintf(w, "link_directories(%s)\n", 
strings.Join(util.SortFields(linkDirs...), " "))
        }
 

Reply via email to