Fix openssl dependency on windows.

master
Dominik Deák 3 years ago
parent f5f4515d18
commit 476f16fa0d
  1. 3
      Scripts/Build/BuildWindows.cmd
  2. 1
      Scripts/Install/PackageListChoco.config
  3. 2
      Scripts/config.txt
  4. 2
      Synergy-Core

@ -18,6 +18,9 @@
:configureCMake :configureCMake
mkdir -p "%productRepoPath%\ext\openssl\windows\x64"
xcopy "%openSSLPath%" "%productRepoPath%\ext\openssl\windows\x64" /e /y || exit 1
cmake -S "%productRepoPath%" -B "%productBuildPath%"^ cmake -S "%productRepoPath%" -B "%productBuildPath%"^
-G "%cmakeGenerator%"^ -G "%cmakeGenerator%"^
-D CMAKE_PREFIX_PATH="%libQtPath%;%openSSLPath%"^ -D CMAKE_PREFIX_PATH="%libQtPath%;%openSSLPath%"^

@ -2,6 +2,7 @@
<packages> <packages>
<package id="git" /> <package id="git" />
<package id="python3" /> <package id="python3" />
<package id="openssl" forceX86="true" />
<package id="cmake" installArguments="ADD_CMAKE_TO_PATH=System" /> <package id="cmake" installArguments="ADD_CMAKE_TO_PATH=System" />
</packages> </packages>

@ -11,7 +11,7 @@
[Windows] [Windows]
libQtPath = C:\Qt\Qt5.12.9\5.12.9\msvc2017_64 libQtPath = C:\Qt\Qt5.12.9\5.12.9\msvc2017_64
openSSLPath = .\Synergy-Core\ext\openssl\windows\x64 openSSLPath = C:\Program Files\OpenSSL-Win64
vcvarsallPath = C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat vcvarsallPath = C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
# Run cmake --help to choose a suitable generator # Run cmake --help to choose a suitable generator

@ -1 +1 @@
Subproject commit 67d824b8483003d531097dded302965b88ee867b Subproject commit 37bbd3c0ee7708c0bf26bebcc115d02c97bbbe38
Loading…
Cancel
Save