Skip to content

Commit be86645

Browse files
authored
feat(cmake): set default darwin architectures for apple builds (estkme-group#346)
1 parent 3a3c5f0 commit be86645

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ else()
3333
message(INFO "IPO is not supported: ${output}")
3434
endif()
3535

36-
if (APPLE)
36+
if (APPLE AND NOT DEFINED CMAKE_OSX_ARCHITECTURES)
3737
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
38-
endif()
38+
endif ()
3939

4040
if(UNIX)
4141
include(GNUInstallDirs)

0 commit comments

Comments
 (0)