[Companion][build][Windows] Allow alternate locations for OpenSSL DLLs to be included with CPN installation (removes PyQt4 dependency). (#5939)

This commit is contained in:
Max Paperno
2018-06-04 07:44:00 +02:00
committed by Bertrand Songis
parent 3af2b090e5
commit 2c5b54d7f3
2 changed files with 30 additions and 9 deletions
@@ -125,8 +125,11 @@ Section "OpenTX Companion @VERSION_FAMILY@" SecDummy
File "@QT_DLL_DIR@\Qt5Multimedia.dll"
File "@QT_DLL_DIR@\Qt5Svg.dll"
File "@QT_DLL_DIR@\Qt5Xml.dll"
File "@PYTHON_DIRECTORY@\lib\site-packages\PyQt4\libeay32.dll"
File "@PYTHON_DIRECTORY@\lib\site-packages\PyQt4\ssleay32.dll"
${!defineifexist} EAY_LIB_WINDIR "@EAY_LIB_DIR@\libeay32.dll"
!ifdef EAY_LIB_WINDIR
File "@EAY_LIB_DIR@\libeay32.dll"
File "@EAY_LIB_DIR@\ssleay32.dll"
!endif
File "@SDL_DIR@\SDL.dll"
File "@CMAKE_CURRENT_SOURCE_DIR@\..\targets\windows\avrdude.exe"