Skip to content

ctest: Fix with XCODE_EMIT_EFFECTIVE_PLATFORM_NAME

When using Xcode generator, and the property is set, the build paths contain a ${EFFECTIVE_PLATFORM_NAME}, and ctest would not find the executable to run. This finds and replaces it with empty string, assuming we the target we want is a macOS target.

Merge request reports