--- 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 --001a11336876e8f05a04e71e0268 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi all,<div><br></div><div>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.</div> <div>I fixed this with the following patch, which I provide under MIT licen= se:</div><div><br></div><div><div>From 997aaaf86d698ca5644be813b1ca9b1a0d95= cfbb Mon Sep 17 00:00:00 2001</div><div>From: Immanuel Weber <<a href=3D= "mailto:immanuel.weber@xxxxxxxxxxxxxxxxx";>immanuel.weber@xxxxxxxxxxxxxxxxx<= /a>></div> <div>Date: Mon, 23 Sep 2013 19:02:55 +0200</div><div>Subject: [PATCH] Fix i= nstallation of nanocat</div><div><br></div><div>---</div><div>=A0CMakeLists= .txt | 2 +-</div><div>=A01 file changed, 1 insertion(+), 1 deletion(-)</div= > <div><br></div><div>diff --git a/CMakeLists.txt b/CMakeLists.txt</div><div>= index 10054c2..13fabba 100644</div><div>--- a/CMakeLists.txt</div><div>+++ = b/CMakeLists.txt</div><div>@@ -119,7 +119,7 @@ install (FILES src/pipeline.= h DESTINATION include/nanomsg)</div> <div>=A0install (FILES src/survey.h DESTINATION include/nanomsg)</div><div>= =A0install (FILES src/bus.h DESTINATION include/nanomsg)</div><div>=A0</div= ><div>-install (FILES nanocat DESTINATION bin)</div><div>+install (TARGETS = nanocat RUNTIME DESTINATION bin)</div> <div>=A0</div><div>=A0set (CPACK_GENERATOR "NSIS")</div><div>=A0s= et (CPACK_PACKAGE_NAME "nanomsg")</div><div>--=A0</div><div>1.8.3= .msysgit.0</div><div><br></div></div><div>I tried to create a pull-request,= but was not able to drill through my institutes proxy.</div> <div><br></div><div>Greetings</div><div>Immanuel</div></div> --001a11336876e8f05a04e71e0268--