Skip to content

Commit e5f4667

Browse files
committed
force build
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 992cb60 commit e5f4667

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ jobs:
107107
run: |
108108
source PawPaw/local.env win32
109109
alias
110-
cmake -S . -B build
110+
# cmake -S . -B build
111+
cmake -DCMAKE_CROSSCOMPILING=ON -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_PROCESSOR=i686 -DCMAKE_AR=/usr/bin/i686-w64-mingw32-ar -DCMAKE_C_COMPILER_AR=/usr/bin/i686-w64-mingw32-ar -DCMAKE_CXX_COMPILER_AR=/usr/bin/i686-w64-mingw32-ar -DCMAKE_RANLIB=/usr/bin/i686-w64-mingw32-ranlib -DCMAKE_C_COMPILER_RANLIB=/usr/bin/i686-w64-mingw32-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/usr/bin/i686-w64-mingw32-ranlib -DCMAKE_CROSSCOMPILING_EMULATOR=wine -DCMAKE_RC_COMPILER=i686-w64-mingw32-windres -S . -B build
111112
$(which cmake) --build build -j $(nproc)
112113
- name: Create zip package
113114
if: steps.cache.outputs.cache-hit == 'true'

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,9 @@ set_target_properties(Chibi
8181
AUTOUIC ON
8282
AUTORCC ON
8383
)
84+
85+
if(APPLE)
86+
set_source_files_properties(
87+
chibiembedwidget.cpp
88+
PROPERTIES COMPILE_FLAGS -ObjC++)
89+
endif()

0 commit comments

Comments
 (0)