Checks common requirements and fails the current portfile with a (default) error message
vcpkg_fail_port_install(
[ALWAYS]
[MESSAGE <"Reason for failure">]
[ON_TARGET <Windows> [<OSX> ...]]
[ON_ARCH <x64> [<arm> ...]]
[ON_CRT_LINKAGE <static> [<dynamic> ...]])
[ON_LIBRARY_LINKAGE <static> [<dynamic> ...]]
)
Additional failure message. If none is given, a default message will be displayed depending on the failure condition.
Will always fail early
Targets for which the build should fail early. Valid targets are <target>
from VCPKG_IS_TARGET_<target>
(see vcpkg_common_definitions.cmake
).
Architecture for which the build should fail early.
CRT linkage for which the build should fail early.
Library linkage for which the build should fail early.