Tests: Exclude bad RunCMake.add_executable case on multi-arch Xcode

The `NoSourcesButLinkObjects` case would not be expected to work under
Xcode with multiple architectures even if the target objects were listed
directly as sources.  Exclude it.  We already exclude similar cases in
`RunCMake.add_library`.
This commit is contained in:
Brad King 2017-10-24 08:10:42 -04:00
parent 358ceee5d8
commit 6e4e7c6547

View File

@ -2,4 +2,6 @@ include(RunCMake)
run_cmake(NoSources) run_cmake(NoSources)
run_cmake(OnlyObjectSources) run_cmake(OnlyObjectSources)
run_cmake(NoSourcesButLinkObjects) if(NOT RunCMake_GENERATOR STREQUAL "Xcode" OR NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" MATCHES "[;$]")
run_cmake(NoSourcesButLinkObjects)
endif()