[tacopie] Fix build for mingw (#34850)

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2023-11-02 18:42:20 +01:00 committed by GitHub
parent 9fb19afa26
commit 521995e652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,7 +44,7 @@ project(${PROJECT} CXX)
###
# compilation options
###
-IF (WIN32)
+IF (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /O2 /bigobj")
# was causing conflics with gtest build

View File

@ -9,6 +9,7 @@ vcpkg_from_github(
PATCHES
fix-cmakelists.patch
fix-export.patch
fix-mingw-build.patch
)
if(VCPKG_CRT_LINKAGE STREQUAL dynamic)

View File

@ -1,7 +1,7 @@
{
"name": "tacopie",
"version": "3.2.0",
"port-version": 5,
"port-version": 6,
"description": "Tacopie is a TCP Client & Server C++11 library",
"homepage": "https://github.com/cpp-redis/tacopie",
"dependencies": [

View File

@ -8222,7 +8222,7 @@
},
"tacopie": {
"baseline": "3.2.0",
"port-version": 5
"port-version": 6
},
"taglib": {
"baseline": "1.13.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dc2035636502588b6cdac9c4d58c5f7b6c03c76a",
"version": "3.2.0",
"port-version": 6
},
{
"git-tree": "e9f280c1d8b799fd2b5617955348dd299b246c86",
"version": "3.2.0",