[nanomsg] Re: install step of nanocat does not work

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 24 Sep 2013 12:21:04 +0200

Hi Immanuel,

The patch is now merged to the mainline. Your name was also added to the AUTHORS file.

Thanks!
Martin

On 24/09/13 11:46, Immanuel Weber wrote:
Hi all,

I built nanomsg from the master branch on win7x64 with msvc11. In the
installation subproject of the msvc solution the installation of nanocat
fails, as it tries to move files from a folder which does not exist.
I fixed this with the following patch, which I provide under MIT license:

 From 997aaaf86d698ca5644be813b1ca9b1a0d95cfbb Mon Sep 17 00:00:00 2001
From: Immanuel Weber <immanuel.weber@xxxxxxxxxxxxxxxxx
<mailto:immanuel.weber@xxxxxxxxxxxxxxxxx>>
Date: Mon, 23 Sep 2013 19:02:55 +0200
Subject: [PATCH] Fix installation of nanocat

---
  CMakeLists.txt | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10054c2..13fabba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,7 +119,7 @@ install (FILES src/pipeline.h DESTINATION
include/nanomsg)
  install (FILES src/survey.h DESTINATION include/nanomsg)
  install (FILES src/bus.h DESTINATION include/nanomsg)
-install (FILES nanocat DESTINATION bin)
+install (TARGETS nanocat RUNTIME DESTINATION bin)
  set (CPACK_GENERATOR "NSIS")
  set (CPACK_PACKAGE_NAME "nanomsg")
--
1.8.3.msysgit.0

I tried to create a pull-request, but was not able to drill through my
institutes proxy.

Greetings
Immanuel


Other related posts: