Passing BEFORE to target_compile_options has no effect
Examining cmTargetCompileOptionsCommand.cxx shows that the passed prepend argument is ignored. True is passed for the prepend argument when BEFORE is specified.
Examining cmTargetCompileOptionsCommand.cxx shows that the passed prepend argument is ignored. True is passed for the prepend argument when BEFORE is specified.