[cmake] switch to CMake's native check_{compiler,linker}_flag
#4555
This job succeeded
Loading
check_{compiler,linker}_flag
#4555