mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-23 13:00:17 +00:00
fix cmake
This commit is contained in:
parent
152d6bbd49
commit
1194497b5c
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -162,7 +162,7 @@ jobs:
|
||||
uses: jirutka/setup-alpine@v1
|
||||
with:
|
||||
arch: ${{ matrix.arch }}
|
||||
packages: gcc g++ make cmake libc-dev linux-headers python3
|
||||
packages: gcc g++ make cmake libc-dev linux-headers python3 git
|
||||
- name: Build and Test
|
||||
run: |
|
||||
echo "Building for architecture: ${{ matrix.arch }}"
|
||||
|
@ -14,8 +14,7 @@ endif()
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8 /jumptablerdata")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /experimental:c11atomics")
|
||||
add_compile_options(/wd4267 /wd4244 /wd4146)
|
||||
add_compile_options(/wd4267 /wd4244 /wd4146 /experimental:c11atomics)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Ox")
|
||||
|
Loading…
x
Reference in New Issue
Block a user