From dd57a93345054240335f117047f5f268d6700df7 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Thu, 26 Feb 2015 00:04:17 +0000 Subject: [PATCH] Added OpenSSL DLLs to Windows installer #4313 libeay32.dll ssleay32.dll --- src/lib/plugin/ns/CMakeLists.txt | 14 ++++++++++++++ src/setup/win32/Product.wxs | 2 ++ 2 files changed, 16 insertions(+) diff --git a/src/lib/plugin/ns/CMakeLists.txt b/src/lib/plugin/ns/CMakeLists.txt index 06cd7d85..8a9baab4 100644 --- a/src/lib/plugin/ns/CMakeLists.txt +++ b/src/lib/plugin/ns/CMakeLists.txt @@ -65,6 +65,20 @@ if (WIN32) ..\\..\\..\\..\\..\\lib\\${CMAKE_CFG_INTDIR}\\ns.dll ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}\\plugins\\ ) + add_custom_command( + TARGET ns + POST_BUILD + COMMAND xcopy /Y /Q + ..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\libeay32.dll + ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR} + ) + add_custom_command( + TARGET ns + POST_BUILD + COMMAND xcopy /Y /Q + ..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\ssleay32.dll + ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR} + ) else() if (APPLE) add_custom_command( diff --git a/src/setup/win32/Product.wxs b/src/setup/win32/Product.wxs index 1f4e9beb..df61f862 100644 --- a/src/setup/win32/Product.wxs +++ b/src/setup/win32/Product.wxs @@ -90,6 +90,8 @@ + +