Skip to content

Commit

Permalink
maybe its static now?
Browse files Browse the repository at this point in the history
  • Loading branch information
SenpaiSimon committed May 20, 2024
1 parent b1aff16 commit 6fa3f5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ jobs:
curl -o curl.zip https://curl.se/windows/dl-8.7.1_7/curl-8.7.1_7-win64-mingw.zip &&
mkdir curlLib && tar -xf curl.zip -C curlLib --strip-components=1 &&
mv .\curlLib\bin\libcurl*.dll 'curlLib\bin\libcurl.dll' &&
xcopy /s /y .\curlLib\bin\ 'C:\mingw64\bin\' &&
xcopy /s /y .\curlLib\include\ 'C:\mingw64\bin\' &&
xcopy /s /y .\curlLib\lib\ 'C:\mingw64\bin\' &&
xcopy /s /y .\curlLib\ 'C:\Program Files\Git\mingw64\bin\'
xcopy /s /y .\curlLib\*\ 'C:\mingw64\bin\' &&
xcopy /s /y .\curlLib\*\ 'C:\Program Files\Git\mingw64\bin\'
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ enable_testing()

if(WIN32)
add_compile_definitions(_WIN32)
add_compile_definitions(CURL_STATICLIB)
add_definitions(-DCURL_STATICLIB)
list(APPEND CMAKE_MODULE_PATH "C:/mingw64")
else()
add_compile_definitions(__linux__)
Expand Down

0 comments on commit 6fa3f5b

Please sign in to comment.