fix curl 8.1.0 compile problem

This commit is contained in:
crazywhalecc 2023-05-17 22:00:41 +08:00
parent e47bd8ae3c
commit f002c8021c
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -38,8 +38,6 @@ trait UnixSystemUtilTrait
$cxxLine = 'SET(CMAKE_CXX_COMPILER ' . self::findCommand($cxx) . ')'; $cxxLine = 'SET(CMAKE_CXX_COMPILER ' . self::findCommand($cxx) . ')';
} }
$toolchain = <<<CMAKE $toolchain = <<<CMAKE
SET(CMAKE_SYSTEM_NAME {$os})
SET(CMAKE_SYSTEM_PROCESSOR {$target_arch})
{$ccLine} {$ccLine}
{$cxxLine} {$cxxLine}
SET(CMAKE_C_FLAGS "{$cflags}") SET(CMAKE_C_FLAGS "{$cflags}")