Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftFever committed Oct 7, 2023
1 parent 337e5d0 commit a313406
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
choco install strawberryperl
mkdir ${{ github.workspace }}/deps/build
mkdir ${{ github.workspace }}/deps/build/OrcaSlicer_dep
$env:SHELL = "X:PATHCOMMAND.COM /P /E:1024"
.\build_release_vs2022.bat deps
cd ${{ github.workspace }}/deps/build
Expand Down
3 changes: 2 additions & 1 deletion build_release_vs2022.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ if "%1"=="slicer" (
)
echo "building deps.."
cmake ../ -G "Visual Studio 17 2022" -A x64 -DDESTDIR="%CD%/OrcaSlicer_dep" -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --target deps -- -m
msbuild .\deps.vcxproj -property:Configuration=Release
@REM msbuild .\dep_OpenSSL.vcxproj

if "%1"=="deps" exit /b 0

Expand Down
7 changes: 3 additions & 4 deletions deps/CURL/CURL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ set(_curl_platform_flags
)

if (WIN32)
set(_curl_platform_flags ${_curl_platform_flags} -DCMAKE_USE_SCHANNEL=ON)
#set(_curl_platform_flags ${_curl_platform_flags} -DCMAKE_USE_SCHANNEL=ON)
set(_curl_platform_flags ${_curl_platform_flags} -DCMAKE_USE_OPENSSL=ON -DCURL_CA_PATH:STRING=none)
elseif (APPLE)
set(_curl_platform_flags

Expand Down Expand Up @@ -71,9 +72,7 @@ orcaslicer_add_cmake_project(CURL
${_curl_platform_flags}
)

if (APPLE OR (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
add_dependencies(dep_CURL dep_OpenSSL)
endif ()
add_dependencies(dep_CURL dep_OpenSSL)

if (MSVC)
add_debug_dep(dep_CURL)
Expand Down

0 comments on commit a313406

Please sign in to comment.