cmake fails with an error when attempting to evaluate $<TARGET_FILE:tgt>
where tgt is defined via an add_custom_target and thus the TYPE
is UTILITY. Requesting a TARGET_FILE only works on an EXECUTABLE
or LIBRARY type (e.g. added via add_library or add_executable).
This has always been the case back to at least 3.12 (furthest I checked)
but this is causing a new failure in cmake 3.17 while evaluating
ExternalProjectAdd.
Should be STREQUAL instead of SREQUAL on the second one.