build: specify vendor for Darwin benchmarks

The build was not specifying the vendor when building the Darwin
benchmarks.  Parts of the SDK rely on the vendor macro (`__APPLE__`) to
be defined which requires that the vendor is specified properly.  Ensure
that we do so.
This commit is contained in:
Saleem Abdulrasool
2019-03-12 17:44:02 -07:00
parent 1eabe7838a
commit d86ead48d4

View File

@@ -77,6 +77,11 @@ macro(configure_sdks_darwin)
set(appletvos_ver "9.1")
set(watchos_ver "2.0")
set(macosx_vendor "apple")
set(iphoneos_vendor "apple")
set(appletvos_vendor "apple")
set(watchos_vendor "apple")
set(macosx_triple_platform "macosx")
set(iphoneos_triple_platform "ios")
set(appletvos_triple_platform "tvos")