File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,10 @@ jobs:
108108 # Set flags to make universal binaries
109109 export "CC=clang"
110110 export "CXX=clang++"
111- export "CFLAGS=-arch arm64"
112- export "CXXFLAGS=-arch arm64"
113- export "LDFLAGS=-arch arm64"
111+ export "CFLAGS=-arch arm64 -arch x86_64"
112+ export "CXXFLAGS=-arch arm64 -arch x86_64"
113+ export "LDFLAGS=-arch arm64 -arch x86_64"
114+ export "CMAKE_OSX_ARCHITECTURES=arm64;x86_64"
114115 make
115116 # Linux compilation
116117 - name : Make-Linux
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 2.8.4)
22
3- set (CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "Build universal binary" FORCE)
3+ # set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "Build universal binary" FORCE)
44
55project (Network3)
66
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ $(MUPARSER_LIB):
6060
6161$(MATHUTILS_LIB):
6262 mkdir -p $(LIBDIR) $(INCDIR)
63- cd $(MATHUTILS); make CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) ; \
63+ cd $(MATHUTILS); make; \
6464 mv libmathutils.a $(CMAKELISTS_DIR)/$(LIBDIR); \
6565 cp mathutils.h $(CMAKELISTS_DIR)/$(INCDIR)
6666
You can’t perform that action at this time.
0 commit comments