Commit fd714dd2 authored by Brad King's avatar Brad King
Browse files

Tests: Fix FindPackageModeMakefileTest with CMAKE_OSX_ARCHITECTURES

parent 42edf53c
Pipeline #217094 waiting for manual action with stages
in 17 minutes and 9 seconds
......@@ -26,6 +26,9 @@ if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Makefile" AND
if(CMAKE_OSX_SYSROOT)
string(APPEND EXTRA_FLAGS " -isysroot ${CMAKE_OSX_SYSROOT}")
endif()
foreach(arch ${CMAKE_OSX_ARCHITECTURES})
string(APPEND EXTRA_FLAGS " -arch ${arch}")
endforeach()
endif()
# now set up the test:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment