Skip to content

Commit ac93e01

Browse files
committed
fix architecture issue with github action
1 parent f666905 commit ac93e01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

environments/Qt/libs/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ if (UNIX AND NOT APPLE)
4747
set(CMAKE_CXX_FLAGS -fPIC)
4848
endif()
4949

50+
if (APPLE AND NOT IOS)
51+
set(CMAKE_OSX_ARCHITECTURES x86_64)
52+
endif()
53+
5054
set (LIBDIR ${CMAKE_CURRENT_SOURCE_DIR})
5155

5256
#######################################

0 commit comments

Comments
 (0)