[cmake] Fix gtest options for gcc9 and old CMake
[cmake] Fix gtest options for gcc9 and old CMake

Using target_compile_options to set INTERFACE items on IMPORTED targets
is only supported in cmake 3.11 and up (see similar PR #5396).

olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root