Skip to content

Commit b2ab496

Browse files
committed
SConstruct : Fix IECoreAppleseed build on Mac M1
1 parent 4349306 commit b2ab496

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SConstruct

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3290,7 +3290,6 @@ appleseedEnvAppends = {
32903290
],
32913291
"CPPFLAGS" : [
32923292
"-DAPPLESEED_ENABLE_IMATH_INTEROP",
3293-
"-DAPPLESEED_USE_SSE",
32943293
],
32953294
"LIBPATH" : [
32963295
"$APPLESEED_LIB_PATH",
@@ -3299,6 +3298,9 @@ appleseedEnvAppends = {
32993298
],
33003299
}
33013300

3301+
if platform.machine() != "arm64" :
3302+
appleseedEnvAppends["CPPFLAGS"].append( "-DAPPLESEED_USE_SSE" )
3303+
33023304
appleseedEnv.Append( **appleseedEnvAppends )
33033305

33043306
appleseedPythonModuleEnv = pythonModuleEnv.Clone( **appleseedEnvSets )

0 commit comments

Comments
 (0)